I want to display an additional <tr><td> <?# Eval("DataValue") %> </td></tr> if the value of another Eval() data item is not null.
I have the following aspx:
<%# Eval(TwoColumns).ToString() == null ? " " : Eval(Column2Data).ToString() %>
Is this possible? I get the following databinding error: does not contain a property with the name ‘true’.
Any ideas on how to do this?
I’m a little unsure of what you’re asking, but try something like this:
If this doesn’t help, edit your question and give a more detailed description of the issue and the objective.
EDIT
As for appending a row and a column, you can try this: