摘要: 客户端对象模式是Sharepoint2010的一个新功能,它允许开发者在远程的客户端通过编程的方式来操作Sharepoint的列表。如你可以在远程的客户端创建WinForm、WPF、Silverlight或者Javascript操作Sharepoint数据。 阅读全文
posted @ 2010-07-19 23:43 Jayan 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 我们使用在上篇文章sharepoint2010:使用服务端对象模型(Server-Side Object Model)操作列表 中创建的列表Blog. 阅读全文
posted @ 2010-07-19 11:16 Jayan 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 在sharepoint2010中,你可以通过以下几种方式对列表(List)进行操作: 1. 在服务器上使用Microsoft.SharePoint命名空间(服务端对象模型)来访问列表。这就意味着你创建的任何应用必须在服务端才能正常访问。 2. 使用列表web service 3. 自定义一个寄宿在IIS上的ASP.NET Web Service,你也可以把你创建的Web Service发布到Sharepoint的文件系统里 4. 创建一个自定义的WCF 服务发布到IIS或者Sharepoint站点的跟目录。 5. 使用Sharepoint客户对象模型(Client Object Model),它可以在远程机器上对Sharepoint的列表进行编程,支持Silverlight,.NET,Javascript。 阅读全文
posted @ 2010-07-18 23:25 Jayan 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 日期时间脚本库方法列表 Date.prototype.isLeapYear 判断闰年 Date.prototype.Format 日期格式化 Date.prototype.DateAdd 日期计算 Date.prototype.DateDiff 比较日期差 Date.prototype.toString 日期转字符串 Date.prototype.toArray 日期分割为数组 Date.prototype.DatePart 取日期的部分信息 Date.prototype.MaxDayOfDate 取日期所在月的最大天数 Date.prototype.WeekNumOfYear 判断日期所在年的第几周 StringToDate 字符串转日期型 IsValidDate 验证日期有效性 CheckDateTime 完整日期时间检查 daysBetween 日期天数差 阅读全文
posted @ 2010-07-07 18:20 Jayan 阅读(1116) 评论(0) 推荐(1) 编辑
摘要: C#会前途黯淡,只因大胡子惹的 祸?!有点耸人听闻吧。可是色列软件工程师 Tamir Khason自有一套理论(也许他曾学过中国的面相术)得出这样的结论。不信,咱就瞧瞧他发在自己Blog上的一篇文章,看看他有什么样的奇思妙想。 阅读全文
posted @ 2010-06-23 12:46 Jayan 阅读(656) 评论(2) 推荐(2) 编辑
摘要: [代码] 阅读全文
posted @ 2010-06-10 16:11 Jayan 阅读(598) 评论(0) 推荐(0) 编辑
摘要: Every now and then, you need to take the current date and calculate some other date. For instance, you might have an application that needs to determine what date is the first day of the month, or need to know the last day of the month. Now most of you probably already know how to separate the date into its piece (year, month, day, etc.) and use those pieces along with a number of functions to calculate a date that you might need. In this article, I will be showing how to use just the DATEADD an 阅读全文
posted @ 2010-05-17 15:37 Jayan 阅读(382) 评论(0) 推荐(0) 编辑
摘要: This article will demo using an XML Data Source type in Reporting Services 2008. We will then consume three different web service methods – simple web service method, parameter based method and a method that returns a dataset. 阅读全文
posted @ 2010-04-29 15:22 Jayan 阅读(870) 评论(0) 推荐(1) 编辑
摘要: 如果你有一个sharepoint列表包含一个日期的列,你可能想要创建一个按月分组的视图。 阅读全文
posted @ 2010-04-21 12:32 Jayan 阅读(713) 评论(2) 推荐(0) 编辑
摘要: 下一个示例演示了如何使用 SharePoint Solution Generator 通过 Visual Studio 2005 Extensions for Windows SharePoint Services 3.0 对现有(可能是自定义的)SharePoint 工作组网站进行反向工程。演练为您展示了如何对 40 个模板(可从 MSDN 站点下载)中的一个进行反向工程。许多模板以 .stp 文件形式提供(使用浏览器中“另存为模板”命令的结果)。 阅读全文
posted @ 2010-04-08 15:29 Jayan 阅读(350) 评论(0) 推荐(0) 编辑