<add key="keyName" value="keyValue" />
Access the AppSetting by calling it in your code behind:
ConfigurationManager.AppSettings.Get("keyName")
The "Ten Commandments", if you will, of .NET development. Definitely not limited to ten, nor groundbreaking by any means, this blog emphasizes simple code that any .NET developer should know; without the fluff and bloated code examples. "Just show me how to..."
No comments:
Post a Comment