摘要:
StackTrace trace = new StackTrace(); //获取是哪个类来调用的 Type type = trace.GetFrame(1).GetMethod().DeclaringType; //获取是类中的那个方法调用的 string metho... 阅读全文
摘要:
//执行DataTable数据导入 public static int UpdateDt(string strConn, DataTable dt) { try { string tablaName = dt.TableName; string... 阅读全文
摘要:
--====================================================== ----数据库概念:创建、删除、使用数据库 ----====================================================== /****** 数据库信息描述:书籍管理系统 ******/ Use master GO if Exists(select... 阅读全文
摘要:
--====================================================== ----镜像计划建立 2016-05-10 17:05:16.463 hubiyun ----====================================================== --配置 --1.主体服务器一台(包含主体数据库)、镜像服务器一台(包含... 阅读全文
摘要:
--日期查询格式 select convert(nvarchar ,GetDate(),101) --R:06/17/2011 select convert(nvarchar ,GetDate(),102) --R:2011.06.17 select convert(nvarchar ,GetDate(),103) --... 阅读全文