Datagrid Image Control

liunx

Guest
I have an Image control in a datagrid that displays random products from my database. What I want to do is wrap it in a link so that the user can click on each part and get the name, details, pricing, and option to buy the product. Can anyone tell me how to do this in a datagrid. I am new to asp.net and the whole databinding technic. Any help is greatlt appreciated.

JoeyDuse a imageButton control instead of a regular image control.

or use a hyperlink control, and put a image on it instead of text...

ib has click events

hyperlink can have navigateURL properties..

or, just use a button column in the dg.

-takThanks takkie I wound up adding a select button next to the picture. This then display another gridview with the price, name and what bike it fits on. From there they can purchase it or view related items.
 
Back
Top