Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
Connection to Sharepoint Library by c# code
3374 Views
To connect the Document Library
	To connect the sharepoint list only few lines of codes needed :-
	
	//To open the Root site
	SPSite objSite = new SPSite(SPContext.Current.Site.Url);
	//To open the current site(web)
	SPWeb objWeb = objSite.OpenWeb();
	//To open library
	SPDocumentLibrary docLibrary = objWeb.Lists["document_name"];
Best Lessons of "Microsoft sharepoint"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details