Last post Jul 26, 2006 02:24 PM by joeaudette
None
0 Points
504 Posts
Jul 26, 2006 09:58 AM|s2k|LINK
Can someone give an example of how to set the valeus in code to a resource file value in VB.NET?
I want to be able to ste various fields in code for text values based on the approriate resource entry.
Participant
800 Points
594 Posts
Jul 26, 2006 02:24 PM|joeaudette|LINK
None
0 Points
504 Posts
Setting values in code from global resource file?
Jul 26, 2006 09:58 AM|s2k|LINK
Can someone give an example of how to set the valeus in code to a resource file value in VB.NET?
I want to be able to ste various fields in code for text values based on the approriate resource entry.
Participant
800 Points
594 Posts
Re: Setting values in code from global resource file?
Jul 26, 2006 02:24 PM|joeaudette|LINK
GetGlobalResourceObject("Resource", "EditImageAltText").ToString()
This example gets the string with the key EditImageAltText from the App_GlobalResources/Resource.resx file
Hope it helps,
Joe
http://www.mojoportal.com