Datagrid Cell

  • Thread starter Thread starter Joey
  • Start date Start date
J

Joey

Hi guys,

How can I put an image in a datagrid cell and databind
it to navigate to a url.

Thanks
 
Joey said:
Hi guys,

How can I put an image in a datagrid cell and databind
it to navigate to a url.

Thanks

1) use a TemplateColumn
2) add the image to the template in the form of a HyperLink control
use the ImageURL and NavigateURL properties with a databinding
<%# %> syntax.
 
Back
Top