摘要: publicbyte[] Serialize() {var bf = newBinaryFormatter();using (var ms = newMemoryStream()) {using (var ds = newDeflateStream(ms, CompressionMode.Compr... 阅读全文
posted @ 2015-07-06 14:40 Laven小叶 阅读(249) 评论(0) 推荐(0) 编辑
摘要: controller cspublic ActionResult AdvanceSearchForm() { SearchCriteriaModel model = new SearchCriteriaModel { SearchInAll = true }; return PartialView(... 阅读全文
posted @ 2015-07-05 18:51 Laven小叶 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 1.Sp_helptext2. FOR XML PATH('') covert one common to one row3. Syscomments search sp ,function text 阅读全文
posted @ 2015-06-29 23:00 Laven小叶 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Execel Concatenate("'",A2,",'") S1234567 -> "S1234567D", 阅读全文
posted @ 2015-06-29 22:59 Laven小叶 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Install Servicesc create NCS.QMS.1QTicketPrinting.SG binpath= "D:\NCS\1Q_SG\ReportService\NCS.QMS.Reports.AppHost.exe" displayname= "NCS.QMS.1QTicketP... 阅读全文
posted @ 2015-06-29 22:57 Laven小叶 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Sql Server Report service to configure everyone to visitAdd NT AUTHORITY\Authenticated Users 阅读全文
posted @ 2015-06-29 22:55 Laven小叶 阅读(174) 评论(0) 推荐(0) 编辑
摘要: -- Sql Server 2008USE [master]GOALTER DATABASE [UENCDOP1] SET RECOVERY SIMPLE WITH NO_WAITGOALTER DATABASE [UENCDOP1] SET RECOVERY SIMPLE--简单模式GOUSE [... 阅读全文
posted @ 2015-06-29 22:54 Laven小叶 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Http error 503. The service is unavailable. Due to appliction pool is stop and start it can resolve itServer ErrorInternet Information Services 7.5Er... 阅读全文
posted @ 2015-06-29 22:53 Laven小叶 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 1.~将 字符串中的“ 给去掉@index:2; @aa:~ ".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";调用@{aa}{ position:relative; }生成css.col-xs-2,... 阅读全文
posted @ 2015-06-28 22:53 Laven小叶 阅读(236) 评论(0) 推荐(0) 编辑
摘要: cshtmlControllerpublic ActionResult Index (int id?){ ...}如果访问这个页面的话,会连续访问两次,由于scr ='' 造成,把scr='' 去掉就可以了cshtml 阅读全文
posted @ 2015-06-28 21:29 Laven小叶 阅读(117) 评论(0) 推荐(0) 编辑