Programming SharePoint Lists and Libraries

SharePoint stores all data in lists and libraries. Put simply, lists can be considered data structures that store data in the form of rows and columns. SharePoint libraries are lists that store documents along with information about the document. While internally lists and libraries store data in Microsoft SQL Server, lists and libraries abstract the database. As a SharePoint developer, when working with data you will find yourself working mainly with SharePoint lists and libraries as the back end. Although there is a difference between SharePoint lists and libraries, this hour refers to both as SharePoint lists unless specified otherwise.

In Hour 4, “Walking Through the Available Site and List Templates in SharePoint 2010,” you created lists and libraries from user interface. In this hour you look at the option of creating lists through code.

You can also create a document library or any other type of list by specifying the appropriate list template type.


By the Way

To create a list from a custom list template you can pass the feature id through which the custom template is created to one of the overloads of the Add method.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset