Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Creating WebPart to Manage Lists

Creating WebPart to Manage Lists

Ratings: (0)|Views: 325|Likes:
Published by dattaprasadk

More info:

Published by: dattaprasadk on Oct 07, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Creating a WebPart to Manage Lists
 This document provides steps for creating a custom Web Part to access list. It is asimple Web Part that allows you to add records in the SharePoint list. 
Microsoft Visual Studio .NET 2005Microsoft Office SharePoint Server 2007
In This Document 
 There are 3 sections of this document that includes,1. Creating a Web Part2. Deploying your Web Part3. Testing your Web Part1
1. Creating a Web Part 
We will create Web Part in C#.
Create a new Class Library project
 1.Start Visual Studio .NET.2.On the
menu, point to
, and then click
.3.In the
New Project
dialog box, click
Visual C# Projects
, and then selectthe
Class Library
as the name and specify the location for the project files,and then click
 Adding references
1.To create a Web Part, you need to add a reference to theMicrosoft.SharePoint assembly (
) in your ClassLibrary project. If you're working from Visual Studio .NET installed on a serverrunning Microsoft Windows SharePoint Services, the Microsoft.SharePointassembly will be registered and available from the Add Reference dialog box.If you want to develop Web Parts on another computer, you will need accessto a server running Windows SharePoint Services. On the server computer,copy Microsoft.SharePoint.dll from the RootDrive:\Program Files\CommonFiles\Microsoft Shared\Web Server Extensions\60\ISAPI folder to a folder onthe computer where you will be developing Web Parts, and follow the steps in2
this topic to add a reference. You will also need to add a reference to
to support the System.Xml.Serialization namespace which isused to define the XML namespace for serializing custom properties, asdescribed later in this topic.
To add a reference to Microsoft.SharePoint.dll to a project
If you are creating a Web Part on a computer that has Windows SharePointServices or SharePoint Portal Server installed on it:1.On the
menu, click
Add Reference
.2.On the
tab, double-click
Windows SharePoint Services
.If you are creating a Web Part on a computer that does not have WindowsSharePoint Services or SharePoint Portal Server installed on it:3

Activity (6)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
essabanty liked this
sunil liked this
xrez liked this
easuuu liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->