08 2014 档案

摘要:SPListCollection转DatatableSPListItemCollection unprocessedItems = List.GetItems(query);DataTable dt1 = unprocessedItems.GetDataTable();Folder类型添加自定义属性... 阅读全文
posted @ 2014-08-27 11:33 瑞灵 阅读(325) 评论(0) 推荐(0) 编辑
摘要:SharePoint 是在 WF 工作流引擎之上,封装了事件驱动接口的一个工作流平台; SharePoint 在 WF 上扩充了很多 Activity,其中和 WF 密切相关的有三个常用 Activity是: OnWorkflowActivated,CreateTask,OnTaskChanged。... 阅读全文
posted @ 2014-08-19 10:04 瑞灵 阅读(388) 评论(0) 推荐(0) 编辑
摘要://在列表根目录下创建文件夹 public static string CreatFolderToSPDocLib(string strFolderName, string strDocLibName) { string FolderPath = string.Empty; try { using ... 阅读全文
posted @ 2014-08-15 10:35 瑞灵 阅读(290) 评论(0) 推荐(0) 编辑
摘要:sharepoint提供的spfile相关方法中只能通过站点内复制移动文件,站点间复制文件需要用到将文件转换为字节流数据。以下提供函数进行进行站点间复制参考。 1 public static void MovetofileAcrossWeb(string sourcewebUrl, string ... 阅读全文
posted @ 2014-08-15 10:34 瑞灵 阅读(195) 评论(0) 推荐(0) 编辑