I want to create a variable in web.config file and to use that variable in web forms. How can I achieve this??
in web.config:
<appSettings>
<add key="message" value="Hello, World!" />
</appSettings>
in cs:
string str = ConfigurationManager.AppSettings["message"].ToString();