摘要: if (context.Request.Files.Count > 0) { string strUrl = "http://XXXXXXXXXXX:8080/sites/home"; Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges 阅读全文
posted @ 2021-02-08 15:35 SelenaZhou 阅读(112) 评论(0) 推荐(0) 编辑
摘要: string strUrl = ConfigurationManager.AppSettings["SiteUrl"]; string strWebUrl = ConfigurationManager.AppSettings["WebUrl"]; string strListName = Confi 阅读全文
posted @ 2021-02-08 15:25 SelenaZhou 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 右击解决方案中的项目--属性--生成--目标平台--把Any CPU更改为 X64 阅读全文
posted @ 2021-02-08 15:09 SelenaZhou 阅读(105) 评论(0) 推荐(0) 编辑