|
Solved it by mixing in a Template Column,Using a asp:image
and then passing the string path based on a sql case statement. then the string returned is the path of the image.
<asp:TemplateColumn HeaderText="IsEnabled">
<ItemTemplate>
<asp:image Runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "EnabledImg") %>' >
</asp:image>
</ItemTemplate>
</asp:TemplateColumn>
|