打赏
摘要: #region 反射调用功能组件 /// <summary> /// 反射组件通用事件 /// </summary> public class ReflectionFunction { /// <summary> /// 反射调用Mdi窗体 /// </summary> /// <param name="FunctionAssemblyFileName">功能程序集文件名称</param> /// <param name="AssemblyNamespaceAndClass"& 阅读全文
posted @ 2011-11-19 10:11 loring 阅读(337) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Drawing;using System.IO;using System.Drawing.Imaging;us... 阅读全文
posted @ 2011-11-19 10:09 loring 阅读(405) 评论(0) 推荐(0) 编辑
摘要: thisMonth() //返回月初thisMonthEnd() //返回月末thisSeason() //返回季度初thisSeasonEnd() //返回季度末thisYear() //返回年初thisYearEnd() //返回年末public String thisMonth(DateTime date) { String strY = null; int x, y; x = Convert.ToInt32(date.Year.ToString()); y = Convert.ToInt32(date.Month.ToString()); strY = y >= 10 ? y.T 阅读全文
posted @ 2011-11-19 10:07 loring 阅读(170) 评论(0) 推荐(0) 编辑
摘要: sql中对时间进行操作,需要掌握四个时间函数:dateadd,datediff,datepart,datename。dateadd是在指定日期上相加或相减一个时间。如:在指定日期添加3天select dateadd(day,3,'2010-05-06'),返回的结果2010-05-09。datediff是返回两个指定日期相隔的日期时间参数。如:select dateadd(day,'2010-05-09','2010-05-06'),返回的结果是3。datepart是返回指定日期的指定日期参数部分。如:select datepart(day,&# 阅读全文
posted @ 2011-10-28 09:12 loring 阅读(569) 评论(0) 推荐(0) 编辑