M
Mick Walker
Hi Everyone,
I am binding my repeater from a Paged Data source I populate in my code
behind.
I am wondering How do I set some default text if a value is null (or a
empty string)
I am currently using the format:
<tr class="RowStyle">
<td style="width: 100px">
Age:
</td>
<td style="width: 100px">
<%#Eval("Age").ToString() %>
</td>
<tr/>
So if the age field is blank or null, I would like to display some
default text such as "None Specified"
Regards
Mick
I am binding my repeater from a Paged Data source I populate in my code
behind.
I am wondering How do I set some default text if a value is null (or a
empty string)
I am currently using the format:
<tr class="RowStyle">
<td style="width: 100px">
Age:
</td>
<td style="width: 100px">
<%#Eval("Age").ToString() %>
</td>
<tr/>
So if the age field is blank or null, I would like to display some
default text such as "None Specified"
Regards
Mick