G
Guest
Hi!
I have been struggeling for quite some time now with a stupid problem which
drives me crazy.
I have Datagrid, where I load some images from a SQL2000 database. This
works fine, but I am not abel to make the image in the datagrid to be a link
to another page.
I have created a Templeate Column for this.
Could someone be kind enough to point me in the right direction?
This is my template column:
<asp:TemplateColumn>
<ItemTemplate>
<asp:Image id=Image1 Height="60" Width="90" ImageUrl='<%#
DataBinder.Eval(Container.DataItem, "Image") %>' Runat="server" >
</asp:Image>
</ItemTemplate>
</asp:TemplateColumn>
I have been struggeling for quite some time now with a stupid problem which
drives me crazy.
I have Datagrid, where I load some images from a SQL2000 database. This
works fine, but I am not abel to make the image in the datagrid to be a link
to another page.
I have created a Templeate Column for this.
Could someone be kind enough to point me in the right direction?
This is my template column:
<asp:TemplateColumn>
<ItemTemplate>
<asp:Image id=Image1 Height="60" Width="90" ImageUrl='<%#
DataBinder.Eval(Container.DataItem, "Image") %>' Runat="server" >
</asp:Image>
</ItemTemplate>
</asp:TemplateColumn>