03 2016 档案

摘要:using (var ctx = new PortalContext()){ var city = ctx.Cities.Find(42); ctx.Entry(city) .Reference(c => c.Province) .Load(); city.Province = null; ctx. 阅读全文
posted @ 2016-03-30 17:44 lishidefengchen 编辑
摘要:https://www.guidgenerator.com/online-guid-generator.aspx 阅读全文
posted @ 2016-03-30 10:10 lishidefengchen 编辑
摘要:$('#someTextBox').keypress(function(event){ var keycode = (event.keyCode ? event.keyCode : event.which); if(keycode == '13'){ alert('You pressed a "enter" key in textbox'); ... 阅读全文
posted @ 2016-03-25 12:43 lishidefengchen 编辑
摘要:Array.IndexOf(Array,obj); 阅读全文
posted @ 2016-03-24 14:04 lishidefengchen 编辑
摘要:http://www.spritecow.com/ 阅读全文
posted @ 2016-03-22 13:28 lishidefengchen 编辑
摘要:C#后台获取客户端浏览器的类型: Request.Browser.Type; ("Firefox44"、 "IE7"、 "Chrome49"等,忽略版本问题) 阅读全文
posted @ 2016-03-18 17:37 lishidefengchen 编辑
摘要:linq的条件语句尽量不要出现计算的式子,要不然很可能,程序不能正确的将这些复杂的式子编译成表达式!! 例如: dataContext.Assets.Count(s => s.SubCategory.Id == ‘这里最好是一个变量,不要出现表达式’) 阅读全文
posted @ 2016-03-16 17:13 lishidefengchen 编辑
摘要:Win7:%ProgramData%\TechSmith\Camtasia Studio 8\RegInfo.iniWinXP:”%AllUsersProfile%\Application Data\TechSmith\Camtasia Studio 8\RegInfo.ini”把“RegInfo. 阅读全文
posted @ 2016-03-11 09:49 lishidefengchen 编辑
摘要:当设置_self属性时,再设置宽和高就不管用,这个宽高会继承父窗口的宽高! window.open("url","_self","width=100,height=200"); 上面相当于: window.open("url","_self"); 阅读全文
posted @ 2016-03-10 14:37 lishidefengchen 编辑
摘要:<asp:FileUpload runat="server" ID="imgUpload" AllowMultiple="true" /> 后台: HttpFileCollection files = Request.Files; if (files.Count > 0 && imgUpload.H 阅读全文
posted @ 2016-03-08 14:22 lishidefengchen 编辑
摘要:1、ctrl+c,alt+c,shift+ctrl+c: ========== Copying to SharePoint Root =========={ProjectRoot}\pkg\Debug\iWS.Assets\ControlTemplates\iWS.Assets\AddAssetsM 阅读全文
posted @ 2016-03-08 10:46 lishidefengchen 编辑
摘要:转载:http://www.cnblogs.com/ChunLiangZhang/archive/2012/07/18/2597335.html(作者:ChunLiang) 现在可以用SharePoint PowerShell去部署自己的WSP。 SharePoint Management Shel 阅读全文
posted @ 2016-03-08 10:24 lishidefengchen 编辑
摘要:关闭搜索服务 (服务器上的服务,要禁用的服务) (管理工具 – 服务) 阅读全文
posted @ 2016-03-07 09:57 lishidefengchen 编辑
摘要:转载: http://www.cnblogs.com/erucy/archive/2012/08/25/2655600.html 电脑正在以无比慢的速度从微软网站上安装Office Component for Visual Studio 2012,今晚的某个工作看来是干不成了,索性写篇blog。 S 阅读全文
posted @ 2016-03-03 16:37 lishidefengchen 编辑

点击右上角即可分享
微信分享提示