2009年4月14日

C#常用函数

摘要: C#常用函数(有待研究,好东西,先收藏) 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime... 阅读全文

posted @ 2009-04-14 10:01 bicabo 阅读(363) 评论(0) 推荐(0) 编辑

DateTime操作详情

摘要: //大家在做报表或查询的时候都会有给用户预设一些可选的日期范围(如上图)2 //如本年度销售额、本季度利润、本月新增客户3 //C#里内置的DateTime基本上都可以实现这些功能,巧用DateTime会使你处理这些事来变轻松多了4 5 //今天6 ... 阅读全文

posted @ 2009-04-14 10:00 bicabo 阅读(267) 评论(0) 推荐(0) 编辑

导航