I am using a repeater in asp.net to display some data. One of my fields is a 0 or 1 value. If a 0 is the value I want to display 'NO' and 1 would display 'YES'.
Is this possible with a repeater?
My code is below and field RA_ON is the field that returns 0 or 1 :
VB Code:
....... <ASP:Repeater runat="server" DataSource='<%# dsFullList.DefaultView %>'> <ItemTemplate> <tr> <td><%# dsFullList.FieldValue("ID", Container) %> </td> <td><%# dsFullList.FieldValue("Name", Container) %> </td> <td><%# dsFullList.FieldValue("RA_ON", Container) %> </td> <td><%# dsFullList.FieldValue("ENTRY_DT", Container) %> </td> </tr> </ItemTemplate> </ASP:Repeater> .....




Reply With Quote