Ok. I have been banging my head against the wall trying to figure out
how this piece of display logic can be implemented:
<% if (DataBinder.Eval(Container.DataItem, "SomeItem") != "SomeValue")
{ %>
HTML DISPLAY BLOCK
<% } %>
The reason I would prefer to do it this way is:
(1) Easier management by the HTML producers/designers
(2) It seems pointless to create yet another control for a single
table row or even table cell depending upon the case of HTML formatted
data.
In the future I won't need this but I am dealing with a pre-existing
code base that I don't have the time to change.
-----------------------------------
"Integrity is doing the right thing,
even if nobody is watching."
-----------------------------------
"Normally we do not so much
look at things as overlook them."