文章分类 - .NET
摘要:if(ds == null)//ds为空 if(ds.Tables.Count == 0)//ds中没有表 if(ds.Tables.Count == 1 && ds.Tables[0].Rows.Count == 0)//ds中的表没有数据
阅读全文
摘要:--DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 取当前年月日时分秒 currentTime=System.DateTime.Now; 取当前年 int 年=currentTime.Year; 取当前月 int 月=currentTime.Month; 取当前日 int 日=currentTime.Day; 取当前时...
阅读全文
浙公网安备 33010602011771号