using resx file to raplace labels
hii all , I want to replace my labels in aspx page to user friendly language. i have rea开发者_JAVA百科d about .resx files. but i am not getting correct flow of how to do it..could you plz help... I
its concept of localization and globlization so just go through this : ASP.NET Globalization and Localization
ASP.NET Web Page Resources Overview
asp.net provider easy way to resolve your problem.
An exemple:
<asp:Literal ID="LiteralSampleText" runat="server"
Text="<%$ Resources:default, theSampleText %>"></asp:Literal>
So, you have to set theSampleText
in your resx file, for fr,us or other language.
精彩评论