I have an enum with some data on it, also I have a resource file with the same data of the enum but using different translation
Ex.
If you are using a local resource and the name of the resource item is Sun, u can write the following
GetLocalResourceObject("Sun").ToString();
Edited: don't forget to name the resource file as ur webpage file name and use a App_LocalResources
:
EX: webpage is Test.aspx , then your resource file is Test.aspx.resx
The resource is probably be a part of your assembly. Why don't you use the following? Resources.ResourceManager.GetString(test.Sun.ToString())