09 2013 档案
摘要:下载文件如果下载其它类别的文件:SPSecurity.RunWithElevatedPrivileges(delegate(){using(SPSitecurrentSite=newSPSite(SPContext.Current.Site.ID)){using(SPWebweb=currentSite.OpenWeb(SPContext.Current.Web.ID)){stringfilename=Request.QueryString["FileName"].ToString();stringItemID=Request.QueryString["ID&qu
阅读全文
摘要:The most efficient way to a lot of transaction in SharePoint is using of SPWeb.ProcessBatchData method. For deleting operations there are very helpfull post. Code exaple from that post://WeprepareaString.FormatwithaString.Format,thisiswhywehavea{{0}}stringcommand=String.Format("{0}{{0}}Delete{{
阅读全文

浙公网安备 33010602011771号