Friday, November 1, 2013

How to set configuration in Empty SharePoint Project

I use the PropertyBag:


http://pbs2010.codeplex.com/





private string GetProperty(SPWeb spWeb, string key)
{
string value = string.Empty;
value = spWeb.AllProperties[key].ToString();
return value;

}









Awen


No comments:

Post a Comment