摘要:
public class A//先定义A类 { } public static class Extension//必须先声明一个静态类,类名随意 { public static int ToInt32(this string In)//扩建的方法必须是静态方法,参数里面必须含有this关键字,this关键字后面的类型 { ... 阅读全文
摘要:
-*-分页查询 SELECT * FROM ( SELECT temp.*, ROWNUM RN FROM (SELECT * FROM 表名) temp ) WHERE RN BETWEEN 1 AND 2 -*-* 连表查询 select count(*) as 总次数 from T_HANDL 阅读全文
摘要:
public void GetWMDay() { List list = new List(); string year = "2019"; DateTime counYear = Convert.ToDateTime(year + "-01-01"); // DateTime ne... 阅读全文