New answers tagged

0

Manage to make it work. Thanks for the reply. using (SPSite site = new SPSite(SPContext.Current.Site.Url)) using (SPWeb web = site.OpenWeb("/subsite/subsite")) //site source { SPList listCategory = web.Lists["sourcelist"]; //the list name ddlCategory.DataSource = listCategory.Items; ddlCategory.DataValueField = "ID"; ...


2

Yes, SPServices wraps the Lists web service: https://spservices.codeplex.com/wikipage?title=Lists Which includes AddList: https://msdn.microsoft.com/en-us/library/lists.lists.addlist.aspx Once the list is created, you would use UpdateList to add fields or modify other properties: ...



Top 50 recent answers are included