Give this a try...
<tr runat="server" visible='<%# Container.DataItem("TaxRate") <> 0 %>'>
<td><b>Tax Information: </b></td><td style="text-align:right">Tax
Rate: </td><td><asp:TextBox Text='<%# Container.DataItem
("TaxRate") %>' size="10" runat="server" /></td><td
style="text-align:right">Tax Year Begins: </td><td><asp:TextBox
Text='<%# Container.DataItem("TaxYearBegins") %>' size="10"
runat="server" /></td>
</tr>
You may need to change the test in the data binding logic bit to suit your needs, but this is the general idea.
Peter
------------------------------------------------------
Work smarter, not harder.
|