Local Resources:个
例:违约.aspx.resx-基本资源文件.这是默认的或后备的资源文件.
违约aspx.de.resx-德语等的资源文件.
Global Resources:
Global Resources Localization Suggestion for ASP.NET个
全局资源必须存储在应用程序根目录下的App_GlobalResources中.
// Get the global resource string.
try
{
globalresourcestring = (String)GetGlobalResourceObject("MyResource", "GlobalResourceString1");
}
catch
{
globalresourcestring = "Could not find global resource.";
}