The Passionate Programmer
Setting Value in Web.Config
in Web.Config file,
<appSettings>
<add key="yourkey" value="yourvalue"/>
</appSettings>
in c#
string getVal = ConfigurationManager.AppSettings["yourkey"].ToString();
Now we get the "yourvalue" in string-getVal
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)