We can share resources among the different pages of our website by using a resource file residing in the App_GlobalResources folder. These global resources can be accessed from code :
this.GetGlobalResourceObject("ResourceFileName", "ResourceName");
Also, the resources can be globalized, and the localization of the returned resource depends on the culture specified in the configuration file :
</system.web>
<globalization uiCulture="fr" culture="fr-CA" />
</system.web>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment