html - how to set property value of a Control in ASP.net using Web.config in the web form -
how can set value of property in asp.net control? assume command is:
<asp:label runat="server" id="label1" text="value"></asp:label>
i want value
web.config:
system.configuration.configurationmaneger.appsetting["valuekey"]
what must do?
please excuse me poor , bad english.
try -
<asp:label id="label1" runat="server" text='<%$ appsettings:settingkey%>'></asp:label>
where settingkey key name of appsetting.
asp.net html
No comments:
Post a Comment