Thursday, September 10, 2009

Reading from webconfig/app config

Example how to read from web config

1. add using to page
using System.Configuration;Enjoy,
2. read from config file
string value= ConfigurationSettings.AppSettings["key"];

Enjoy,
Rami Heleg