We help IT Professionals succeed at work.

Retrieve images from resx file.

Last Modified: 2013-12-17
I have inserted some images in the Global resource file. I use these images very frequently. Now I have retrieve the images and show in to page. Im using following code to retrieve the images,
but I requires two parameter one is class name and another if file path. I have the class name but I dont have the path name. Please advise me what to do?
Image1.ImageUrl = (String)GetGlobalResourceObject("GlobalCommonResource", "OdessaLogo1");
Image1.Visible = true;

Open in new window

Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.