public ListGetList(string siteUrl)
{
ListsList = new List ();
using (SPSite WebApp = new SPSite(siteUrl))
{
using (SPWeb site = WebApp.OpenWeb())
{
foreach(SPList currentList in site.Lists)
{
sList.Add(currentList.Title.ToString());
}
}
}
return sList;
}
Comments