ASP.net DataList How do i ?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top