上一页 1 ··· 8 9 10 11 12
摘要: [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 阅读(384) 评论(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 阅读(596) 评论(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 阅读(233) 评论(0) 推荐(0)
摘要: 模板页先判断是否有方法DocumentReady,有的话就调用1、模板页2、内容页DocumentReady(); 阅读全文
posted @ 2013-07-12 11:46 chengeng 阅读(259) 评论(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 阅读(529) 评论(0) 推荐(0)
摘要: ///<summary>///生成缩略图///</summary>///<paramname="originalImagePath">源图路径(物理路径)</param>///<paramname="thumbnailPath">缩略图路径(物理路径)</param>///<paramname="width">缩略图宽度</param>///<paramname="height">缩略图高度</para 阅读全文
posted @ 2013-06-19 11:50 chengeng 阅读(307) 评论(0) 推荐(0)
摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>Js压缩图片</title> <script type="text/javascript" > //img:图片对象 // w:宽度 // h:高度 function ctlImg(img, w, 阅读全文
posted @ 2013-06-19 09:04 chengeng 阅读(506) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2013-05-22 07:00 chengeng 阅读(808) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12