R
Remco
Hello,
I know that in a databound control I can render the value of a certain field
with the syntax <%#Eval("PROD_NAME")%>.
But how do I, in design mode (not in code behind), display something
depending on the value of a field.
<Gridview control....>
<ItemTemplate>
<%If #Eval("PROD_STOCK_SIZE") > 0 then %>
...display some text....
<%End if%>
</ItemTemplate>
</Gridview control...>
This doen't work, what is the workaround?
Kind regards
Remco
I know that in a databound control I can render the value of a certain field
with the syntax <%#Eval("PROD_NAME")%>.
But how do I, in design mode (not in code behind), display something
depending on the value of a field.
<Gridview control....>
<ItemTemplate>
<%If #Eval("PROD_STOCK_SIZE") > 0 then %>
...display some text....
<%End if%>
</ItemTemplate>
</Gridview control...>
This doen't work, what is the workaround?
Kind regards
Remco