{
var results = SPContext.Current.Web.Lists.Cast
return results.Count()> 0;
}
-------------------------------------------------------------
public static bool ListExists(SPWeb web, string listName)
{
return web.Lists.Cast
}
------------------------------------------------------------------------------
No comments:
Post a Comment