Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 16, 2012 11:31 AM by PauloFC
May 12, 2012 05:34 PM|LINK
How can i access directly the variables that i have in my resource file (App_LocalResources/resource.resx) in VS2010 and FW4.0 ?
Example: I have a string saved like that:
RETURN_URL = www.example.com
May 15, 2012 02:09 PM|LINK
You can access to the ressource in your code side with : resource.PROPERTY
So : resource.RETURN_URL
VS scaffold your ressources.resx in browsable class.
May 15, 2012 03:45 PM|LINK
i cannot access directly to: resource.RETURN_URL
It tell me that
"resoure" is not member of "resources"
What do you mean with "your ressources.resx
in browsable class"?
May 16, 2012 11:31 AM|LINK
In VS2010 you must use another folfer "App_GlobalResources".
Thanks any way