how to put condition under the table which is inside the repeater??
-
hey i have a table under the repeater like shown below in the code. Now my problem is there showing the empty rows too along with the data from that table value "TotalAmount". So i am wondering if I could be able to put the condition under that table. some thing like if value equals null, delete the table cell or else show the table cell kind of thing. Is there any way I can do this?
<%# DataBinder.Eval(Container.DataItem, "TotalAmount", "**Total:** {0:c}")%>
suchita
-
hey i have a table under the repeater like shown below in the code. Now my problem is there showing the empty rows too along with the data from that table value "TotalAmount". So i am wondering if I could be able to put the condition under that table. some thing like if value equals null, delete the table cell or else show the table cell kind of thing. Is there any way I can do this?
<%# DataBinder.Eval(Container.DataItem, "TotalAmount", "**Total:** {0:c}")%>
suchita
You should ask this in the ASP.NET forum
-
You should ask this in the ASP.NET forum