thankgodfortektips
Programmer
Hi Guys,
I need to know how to programmatically add a document library to a sharepoint site. I have got this code from thread820-1205320...
string url = "SPSite site = new SPSite(url);
SPWeb web = site.OpenWeb();
Guid g = web.Lists.Add("title", "description", SPListTemplateType.DocumentLibrary);
But this is C+ and I dont have the first clue about it.
Any help would be great, thanks in advance...
I need to know how to programmatically add a document library to a sharepoint site. I have got this code from thread820-1205320...
string url = "SPSite site = new SPSite(url);
SPWeb web = site.OpenWeb();
Guid g = web.Lists.Add("title", "description", SPListTemplateType.DocumentLibrary);
But this is C+ and I dont have the first clue about it.
Any help would be great, thanks in advance...