How to set property value of a control in ASP.net using Web.config in web form
How can I set the value of a property in an ASP.net control? Suppose my control is:
<asp:Label runat="Server" ID="Label1" Text="Value"></asp:Label>
I want to get Value
from web.config:
System.Configuration.ConfigurationManeger.AppSetting["ValueKey"]
What should I do?
I apologize for bad and bad english.
+3
source to share
3 answers