I have a repeated control that I populate from my MS SQL DB.
Now I check one of the returned values, so far I'm using this code:
When I run the code I receive an error: BC30451: Name 'Container' is not declared.
Is there a way to check for data before it get's bind ?
I can not use the <%#Iff(....%> as I need to do more then that
and I also don't want to use DataReader instead.
"Taxes are the fees we pay for civilized society" G.W.
Now I check one of the returned values, so far I'm using this code:
Code:
<%If Container.DataItem("fldSHARE") = "1" Then %>
<td>Shared</td>
<%else%>
<td>Not Shared</td>
<%End IF%>
When I run the code I receive an error: BC30451: Name 'Container' is not declared.
Is there a way to check for data before it get's bind ?
I can not use the <%#Iff(....%> as I need to do more then that
and I also don't want to use DataReader instead.
"Taxes are the fees we pay for civilized society" G.W.