SPSite _site = new SPSite("http://localhost");
SPWeb _web = _site.OpenWeb();
SPListTemplateCollection listcoll = _web.Site.GetCustomListTemplates(_web);
_web.Lists.Add("ListName", "List Descriptioon", listtempcol["TemplateName"]);
SPList _list = oweb.Lists["ListName"];
_list.OnQuickLaunch = true;
_list.Update();
_web.Dispose();
_site.Dispose();
1 comment:
Can I get any webpart which will show tabs and each tab should display its respective webparts?
Post a Comment