上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: 变量表,临时表插入数据的性能分析。1。变量表:declare @t table(id nvarchar(50),supno nvarchar(50),eta datetime)insert @tselect top 10000 id,supno,eta from 表这一句执行sql需时间:16806... 阅读全文
posted @ 2014-11-15 09:58 chengeng 阅读(299) 评论(0) 推荐(0)
摘要: IIS 发布后解除锁定 1、CMD管理员下运行命令C:\windows\system32\inetsrv\appcmd unlock config -section:system.webServer/handlersC:\windows\system32\inetsrv\appcmd unlock 阅读全文
posted @ 2014-11-15 09:56 chengeng 阅读(517) 评论(0) 推荐(0)
摘要: using System.Runtime.InteropServices; #region API [DllImport("user32.dll")] static extern void mouse_event(MouseEventFlag flags, int dx, int dy, uint 阅读全文
posted @ 2014-02-07 14:12 chengeng 阅读(473) 评论(0) 推荐(0)
摘要: this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(245)))), ((int)(((byte)(255)))));this.TransparencyKey = this.BackColor; 阅读全文
posted @ 2013-11-15 16:06 chengeng 阅读(325) 评论(0) 推荐(0)
摘要: select syscolumns.name,systypes.name as type from syscolumnsinner joinsysobjects on syscolumns.id = sysobjects.idinner joinsystypeson syscolumns.xtype = systypes.xtypewhere (sysobjects.name = '" + tableName + "') and (systypes.name 'sysname') 阅读全文
posted @ 2013-09-25 15:17 chengeng 阅读(307) 评论(0) 推荐(0)
摘要: [DllImport("kernel32")] public static extern void GlobalMemoryStatus(ref MEMORY_INFO meminfo); [StructLayout(LayoutKind.Sequential)] public struct MEMORY_INFO { public uint dwLength; public uint dwMemoryLoad; public uint dwTotalPhys; public uint dwAvailPhys; public uint dwTotalPageFile; pu 阅读全文
posted @ 2013-08-28 13:29 chengeng 阅读(397) 评论(0) 推荐(0)
摘要: function isTelephone(inpurStr) { var partten = /^0(([1,2]\d)|([3-9]\d{2}))-\d{7,8}$/; if (partten.test(inpurStr)) { return true; } else { return false; } } function isMobile(inputString) { var partten = /^1[3,5,8]\d{9}$/; var fl = false; if (partten.test(inputString)) { return true; } else { //alert 阅读全文
posted @ 2013-08-05 09:31 chengeng 阅读(615) 评论(0) 推荐(0)
摘要: SELECT HostName,* FROM [Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT [DBID] FROM [Master].[dbo].[SYSDATABASES] WHERE NAME='数据库名') 阅读全文
posted @ 2013-07-25 14:54 chengeng 阅读(247) 评论(0) 推荐(0)
摘要: 模板页先判断是否有方法DocumentReady,有的话就调用1、模板页2、内容页DocumentReady(); 阅读全文
posted @ 2013-07-12 11:46 chengeng 阅读(276) 评论(0) 推荐(0)
摘要: .Net 2.0开始支持 static void Main(string[] args) { using (TransactionScope ts = new TransactionScope()) { UserBLL u = new UserBLL(); TeacherBLL t = new Te 阅读全文
posted @ 2013-07-10 00:37 chengeng 阅读(538) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 下一页