If the image field is a string representing a image file name, then:
...
<asp:TemplateColumn>
<ItemTemplate>
<img src=’<%#DataBinder.Eval (Container.DataItem, 'Photo')%>’>
</ItemTemplate>
</asp:TemplateColumn>
...
If the image field is a string representing a image file name, then:
...
<asp:TemplateColumn>
<ItemTemplate>
<img src=’<%#DataBinder.Eval (Container.DataItem, 'Photo')%>’>
</ItemTemplate>
</asp:TemplateColumn>
...
Share with