Odessa_Technologies
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?
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;
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.