How to get a resource file value in label

how to get resource value in label

Text="<%$ Resources:[Name of .resx file ], [key] %>"


<asp:Button ID="Button1" Runat="server" meta:resourcekey="ButtonResource1" Text="English Button" />

Your label's text attribute now has an explicit expression stating the base file from which to retrieve the resource and the key to select.

No comments:

Post a Comment

Keep ur coding aside.. Relax for some time..