Thanks! You know, the styling on that site is both hilarious and outrageous.
So, I should be able to do something like this? (I took their example and inserted the img references in the codebehind)
aspx:
Code:
<asp:DataGrid id="YourID" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:TemplateColumn HeaderText="Status">
<ItemTemplate>
<%#ShowStatus(Container.DataItem("online"))%>
</ItemTemplate>
</asp:TemplateColumn>
codebehind
Code:
Function ShowStatus(val)
If val = 0 Then
ShowStatus = "<img src=Offline.gif>"
Else
ShowStatus = "<img src=Online.gif>"
End If
End Function