04 2016 档案

摘要:原文地址:http://www.cnblogs.com/renzh/archive/2013/03/05/2944309.html#3407239 一、首先设置IIS中的Web.config文件 找到对应的IIS应用程序目录,如:C:\inetpub\wwwroot\wss\VirtualDirec 阅读全文
posted @ 2016-04-29 15:44 lishidefengchen 编辑
摘要:上面这种方式,效率比较低。改进后的方式如下: 阅读全文
posted @ 2016-04-26 19:05 lishidefengchen 编辑
摘要:情景:SharePoint项目(其他类型的项目道理也一样),数据库是用EF(版本:6.0.0.0)创建的,生产环境已经使用,所以后续修改数据库,只能通过更新来实现。 下面是具体的操作方式: 1、visual studio 打开项目,打开“程序包管理控制台”。 操作方式:视图--其他窗口--程序包管理 阅读全文
posted @ 2016-04-26 17:28 lishidefengchen 编辑
摘要:组合键:ctrl+c,alt+c,Shift+ctrl+c,可以快速的将文件拷贝到对应的部署目录下。 阅读全文
posted @ 2016-04-20 11:16 lishidefengchen 编辑
摘要:原文地址:http://www.jquery001.com/jquery-image-preview.html 阅读全文
posted @ 2016-04-20 11:08 lishidefengchen 编辑
摘要:一般在客户端设置就是灰色的,解决方法就是,要在服务器上进行设置,就可以了。:) 阅读全文
posted @ 2016-04-19 16:26 lishidefengchen 编辑
摘要:1.初次加载-LoadDataFields(IsPostBack=false); 2.保存-LoadDataFields(IsPostBack=true)-ValidateDataFields-SaveDataFields-LoadDataFields(IsPostBack=false); 阅读全文
posted @ 2016-04-18 09:48 lishidefengchen 编辑
摘要:test.dll20161111和test.dll同目录的时候,会报错!因为这样跟test1.dll(只是重名民)的效果是一样的,都会报错的。 同目录的情况下,应该改成test.dll.ddd。 为了避免这种错误,最好备份应该是拷贝到其他目录下面。 阅读全文
posted @ 2016-04-14 18:21 lishidefengchen 编辑
摘要://内容 阅读全文
posted @ 2016-04-13 16:47 lishidefengchen 编辑
摘要:https://developer.mozilla.org/zh-CN/ 阅读全文
posted @ 2016-04-06 15:59 lishidefengchen 编辑
摘要:using (Stream file = spFile.OpenBinaryStream()) { //其余代码 } 阅读全文
posted @ 2016-04-06 11:34 lishidefengchen 编辑
摘要:SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(SPContext.Current.Site.ID)) { ... 阅读全文
posted @ 2016-04-06 10:05 lishidefengchen 编辑
摘要:SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(SPContext.Current.Site.ID)) { using ... 阅读全文
posted @ 2016-04-06 10:01 lishidefengchen 编辑
摘要:slice<摘抄自http://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000/00143449921138898cdeb7fc2214dc08c6c67827758cd2f000>slice() 阅读全文
posted @ 2016-04-05 18:17 lishidefengchen 编辑
摘要:说明: strFilePath是文件全路径; 使用的 NPOI 版本是 2.1.3.1 阅读全文
posted @ 2016-04-05 10:57 lishidefengchen 编辑
摘要:/// /// 获取单元格的值 /// /// /// public static object GetCellValue(ICell item) { if (item == null) { return stri... 阅读全文
posted @ 2016-04-05 10:48 lishidefengchen 编辑

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