资源文件使用 Resources
aspx页面 调用:<asp:Literal ID="Literal1" runat="server" Text="<%$Languages,_Custom_MoreLanguagesSetting_Title%>" />
C#页面调用 :HttpContext.GetGlobalResourceObject("Languages", "_Custom_MoreLanguagesSetting_Title", CultureInfo.CurrentCulture).ToString(); //不会根据当前用户语言变而变
HttpContext.GetGlobalResourceObject("Languages", "_Custom_MoreLanguagesSetting_Title").ToString(); //会根据当前用户语言变而变
xml页面调用: Title="$Resources:Languages,_Custom_MoreLanguagesSetting_Title;"