ASP.net DataList How do i ?

  • Thread starter Thread starter RedFox
  • Start date Start date
R

RedFox

Hello all
I have a data list which works (a simple id from a table).

What I would like to do is if am item is no longer available, to place
an image in its place.
Below is the item id on the datalist, but how do I do the above.
(it would be brilliant if I could do it in the code behind, but if not
that's ok)

<asp:Repeater id="rept_Items" runat="server">
Code ......

<ItemTemplate>
<tr>
<td align="left"
bgColor="#e7eaee"><%#Container.Data("id")%></td>
</tr>
</ItemTemplate>

Code ......
</asp:Repeater>


thank you in advanced
 
Back
Top