开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜