摘要: IntroductionThe DataGridView control in .NET 2.0 is an amazing data representation control, and contains many advanced features that we could benefit from. The only thing that is not supported by this control is the printing feature. I searched the web for such a feature, but did not find anything r 阅读全文
posted @ 2009-05-26 23:04 Cad人生 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 1、DateTime 数字型System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒currentTime=System.DateTime.Now; 1.2 取当前年int 年=currentTime.Year; 1.3 取当前月int 月=currentTime.Month; 1.4 取当前日int 日=currentTime.Day; 1.5 取当前时int 时=currentTime.Hour; 1.6 取当前分int 分=currentTime.Minute; 1.7 取当前秒int 秒=curren... 阅读全文
posted @ 2009-05-26 08:48 Cad人生 阅读(220) 评论(0) 推荐(0) 编辑