how to embed images into my asp page..
I have an application in that i m placed on drop down box.Now i want to show some image and other details according to that drop down item in asp page ..Can any body suggest sample code to how to retreive images according to the drop down item value...
Amit ChoudharyPosted Jul 8, 2010, 7:00 AM
DropDownList have two properties:
Text and Value.
corresponding to Text save the name of image in Value field of dropdownlist. Now take an image on asp.net page..
and on SelectedIndexChanged event of dropdownlist write code to check the text selected of dropdownlist and set the images with your path of image + imagename from Value field of dropdownlist.
Please mark "Do you like this post" if it helps you.