Create Sharepoint 2010 List Programmatically with custom fields - SharePoint-InfoPath.com


Create Sharepoint 2010 List Programmatically with custom fields

Posted by Somnath Matere on December 15, 2010

Create Sharepoint 2010 List Programmatically with custom fields

Code Behind:-
SPSite _site;
SPWeb _myWeb;
bool gTemplateExists = false;
string _strList = "ListName";
_site = new SPSite(@"SiteUrl");
_myWeb = _site.OpenWeb();
//check Whether list already exist or not.
if (IsListExists(_myWeb, _strList)... [read more]

Rating

3/5

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.