We can also enable SharePoint List versioning using c#
using (SPSite spsite = new SPSite("http://win7/"))
{
SPWeb spweb = spsite.OpenWeb();
SPList list = spweb.Lists["CustomList"];
list.EnableVersioning = true;
list.Update();
}
Retrieve SPListItem versions using c#
using (SPSite spsite = new SPSite("http://win7/"))
{
SPWeb...
Showing posts with label SharePoint developer. Show all posts
Showing posts with label SharePoint developer. Show all posts