How to use them in a ASP.NET Web Application project? Any difference?
many thanks
How to use them in a ASP.NET Web Application project? Any difference?
many thanks
Local Resources:
Ex: Default.aspx.resx- Base resource file. This is the default, or fallback, resource file.
Default.aspx.de.resx- A resource file for German etc.
Global Resources:
Global Resources Localization Suggestion for ASP.NET
Global resource must be stored in App_GlobalResources at the root of the application.
// Get the global resource string.
try
{
globalresourcestring = (String)GetGlobalResourceObject("MyResource", "GlobalResourceString1");
}
catch
{
globalresourcestring = "Could not find global resource.";
}