Link to home
Create AccountLog in
Avatar of Odessa_Technologies
Odessa_TechnologiesFlag for India

asked on

Retrieve images from resx file.

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

ASKER CERTIFIED SOLUTION
Avatar of elimesika
elimesika
Flag of Israel image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer