09 2020 档案
摘要:DateTime t1 = DateTime.Parse("2007-01-01"); DateTime t2 = DateTime.Parse("2006-01-01"); System.TimeSpan t3 = t1 - t2; //两个时间相减 。默认得到的是 两个时间之间的天数 得到:36
阅读全文
摘要:global.asax.cs文件添加如下代码 /// <summary> /// 移除http相应头 /// </summary> protected void Application_PreSendRequestHeaders() { Response.Headers.Remove("Server
阅读全文
摘要:SQL Server对服务器内存的使用策略是用多少内存就占用多少内存,只用在服务器内存不足时,才会释放一点占用的内存,所以SQL Server 服务器内存往往会占用很高。 查看内存状态: DBCC MemoryStatus 这些内存一般都是Sql Server运行时候用作缓存的: 1. 数据缓存:执
阅读全文
浙公网安备 33010602011771号