Programmatically Retrieve Orodha ya Maktaba Document

zifuatazo Snippet code ni kutumika kutafuta orodha ya maktaba hati.

SPWeb _web = SPContext.Current.Web;


SPListCollection ListColl = _web.Lists;


foreach (SPList _lst katika ListColl)

{


kama (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

{

LibList.Items.Add(_lst.Title);

}

}

BaseTemplateType can be used to identify the Type of list.

BBC

Unaweza kutumia haya HTML

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