Converting DataGrid to GridView


  • HI

    I have a datagrid that works fine in asp 1 and  asp 2. However I need to convert this to a Gridview.


    The datagrid has an Image in it thats url is pulled from a database. The Image also has a hyperlink that is pulled from the database. The net rusult is that each line in my datagrid has an image that when clicked takes you to different pages depending on the image that is clicked.


    With the Gridview I can have an image in one colum, no problem. I can have a hyperlink in another colum no problem.


    What I cant do is have the image act as my hyperlink in the gridview.

    If anyone has any ideas for this it would be most helpfull.

    asp.net 2005



    Rob Stevens




    Tuesday, December 20, 2005 2:08 PM


  • Hi,

    ASP .Net questions would best be posted in forums.asp.net. You would have a better chance f getting an answer there.



    Paul June A. Domag

    Tuesday, December 20, 2005 3:13 PM