access the SqlConnection from the page (expressed below as a string, but you get the hint):
string connStr = ConfigurationManager.ConnectionStrings["mem"].ConnectionString;
access settings from the web.config:
Color colorBack = Color.FromName(ConfigurationManager.AppSettings["BackColor"]);
string connStr = ConfigurationManager.ConnectionStrings["mem"].ConnectionString;
access settings from the web.config:
Color colorBack = Color.FromName(ConfigurationManager.AppSettings["BackColor"]);
No comments:
Post a Comment