摘要: 刚才发现这个方法对于文档库有特殊的地方,其他类型的列表可以正常运行,经过查找资料,找到一篇解释,原文地址http://www.sharepointblogs.com/smc750/archive/2008/04/03/spweb-processbatchdata-a-list-is-a-list-is-a-list.aspx,意思大概就是说文档库有一个字段FileRef,内容是文件的地址,带后缀的... 阅读全文
posted @ 2010-08-19 13:07 poisson_notes 阅读(647) 评论(0) 推荐(0)
摘要: 批量更新的格式如下:<?xml version="1.0" encoding="UTF-8"?><ows:Batch OnError="Continue"> <Method ID='0'> <SetVar Name="Cmd">Save</SetVar> <SetVar Name="ID">14796</SetVar&g... 阅读全文
posted @ 2010-08-19 10:58 poisson_notes 阅读(475) 评论(0) 推荐(0)
摘要: 通常,我们在SharePoint中创建、更新,删除Item,文档或者文件夹时,都有对应的方法,比如创建一个Item: SPListItem item = list.Items.Add(web.Url + "/" + list.RootFolder.Url,SPFileSystemObjectType.File,"myitem001"); item["Title"] = "item001"; ite... 阅读全文
posted @ 2010-08-19 10:57 poisson_notes 阅读(453) 评论(0) 推荐(0)
摘要: 批量创建的格式如下:<?xml version="1.0" encoding="UTF-8"?><ows:Batch OnError="Continue"> <Method ID='0'> <SetVar Name="Cmd">Save</SetVar> <SetVar Name="ID">New</SetVar>... 阅读全文
posted @ 2010-08-19 10:57 poisson_notes 阅读(459) 评论(0) 推荐(0)
摘要: sharepoint中每个文档库的签入签出设置可以在文档库的设置里的 “版本设置控制” 里面设置 阅读全文
posted @ 2010-08-14 19:53 poisson_notes 阅读(319) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><%@Master language="C#"%><%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0. 阅读全文
posted @ 2010-08-14 16:38 poisson_notes 阅读(1008) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-08-07 14:13 poisson_notes 阅读(203) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2010-08-05 19:52 poisson_notes 阅读(389) 评论(0) 推荐(0)
摘要: IIS 6 (Win2003 )中查看某个应用程序池对应那个 W3WP.exe 进程,可以使用如下命令,输出结果类似如下:C:\WINDOWS\system32>cscript iisapp.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. W3WP.exe PID: 1172 AppPoolId: StsAdminAppPool W3WP.exe PID: 2656 AppPoolId: MSShare 阅读全文
posted @ 2010-08-05 19:17 poisson_notes 阅读(1678) 评论(0) 推荐(0)
摘要: SQL SERVER企业管理器-》SQL SERVER组-》服务器-》数据库-》选中数据库实体-》右键-》所有任务-》分离数据库,然后到数据库所在物理路径下删除.ldf文件,再数据库右键-》所有任务-》附加数据库,即可,会重新生成日志文件如果要压缩再:企业管理器--右键你要压缩的数据库--所有任务--收缩数据库--收缩文件--选择日志文件--在收缩方式里选择收缩至XXM,这里会给出一个允许收缩... 阅读全文
posted @ 2010-08-04 09:49 poisson_notes 阅读(1719) 评论(0) 推荐(0)