Cras programmatically List of Document Libraries

Sequenti est ad recipiendum est album of code snippet libraries document.

SPWeb _web = SPContext.Current.Web;


SPListCollection ListColl = _web.Lists;


foreach (SPList _lst in ListColl)

{


si (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

{

LibList.Items.Add(_lst.Title);

}

}

BaseTemplateType can be used to identify the Type of list.

Aliquam pharetra

Vos can utor his HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>