![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Sharepoint
文章平均质量分 80
diandian82
这个作者很懒,什么都没留下…
展开
-
在SharePoint中使用EventHandler。
在ms sql里有Day ,Year类似的函数,可是我如果想取时间类型字段的小时值呢,以下是解决办法,如下:CONVERT(varchar(2),receivedate,8) ,receivedate为数据库字段。原创 2007-06-20 13:08:00 · 848 阅读 · 0 评论 -
Using eventhandler to change the folder's content type
In Sharepoint 2010, you can not set different content type content type for different folders in document library through GUI. Luckily, you can use Event handler to make it. The following code imp原创 2010-02-18 06:27:00 · 569 阅读 · 0 评论 -
Example for updating list in Sharepoint 2010
1. Mark sure you have sharepoint 2010 and visual studio 2010. Here, i installed sharepoint 2010 and vs2010 RC on my windows7 x64. 2. Create Products list in SP. the list contain 3 columns (Item, N原创 2010-02-16 13:31:00 · 552 阅读 · 0 评论 -
How to use document library in Sharepoint 2010
[ToolboxItemAttribute(false)] public class DocumentManager : WebPart { FileUpload fileUploader; protected override void CreateChildControls() { fileU原创 2010-02-17 15:22:00 · 942 阅读 · 0 评论 -
Using Linq in Sharepoint 2010
1. Mark sure you have sharepoint 2010 and visual studio 2010. Here, i installed sharepoint 2010 and vs2010 RC on my windows7 x64. 2. Create Products list in SP. the list contain 3 columns (Item, N原创 2010-02-16 14:45:00 · 649 阅读 · 0 评论 -
Add Ribbon button and menu item in Sharepoint 2010
1. Create an empty sharepoint project using VS20102. Add new item "Empty Element" and give it name as "NewRibbonControl". This element will add a new ribbon button on the ribbon panel of document li原创 2010-04-02 12:48:00 · 968 阅读 · 0 评论 -
Create a dialog in Sharepoint 2010
1. Create a new web part2. In the web part, add the following codeChange the title Site Title Changer <!-- var meDia; var divEditSiteTitle;原创 2010-04-02 14:21:00 · 672 阅读 · 0 评论 -
Create and Consume WCF in Sharepoint
In this case, you neednt create a seperate Web site for the WCF services, the services will share the same web and port number with existing sharepoint site. Because it is a farm solution, once it is原创 2010-05-07 11:08:00 · 844 阅读 · 0 评论 -
To create a sharepoint list by using powershell
The code is simply, please check directly.$Sitename = "http://geforcesong-pc:26292/Cars";# Load SharePoint library[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")c原创 2010-05-13 09:27:00 · 685 阅读 · 0 评论