Hi, I need to fetch the attributes of a specific list from sharepoint using C#.
using(SPSite site = new SPSite("http://sharepointsite/"))
using(SPWeb web = site.OpenWeb())
SPListCollection listCollection = web.Lists;
foreach (SPList list in listCollection)
The above code fetch me the sharepoint lists.
Now my requirement is, to fetch the attributes of specific list. For example, "Tasks" is a list and when we create a new task, it will ask various attributes such as, "Title, priority, assigned to, status, description etc".
I need to get this list of attributes and update the property grid with these attributes. How can I achieve this?
View Complete Post