Wednesday, 14 August 2013

Hide databind element on control page .ascx

Hide databind element on control page .ascx

Here is my code:
<h6><%#Eval("Category").ToString().ToUpper()%></h6>
I want to say that if the Category = "Construction" do not return that
text. The h6 tag will be blank.
This is on the ascx page.

No comments:

Post a Comment