show the other code, or I guess right, do something like<asp:PlaceHolder id="ph" runat="server" Visible='<%# DataBinder.Eval(Container.DataItem,"status").ToString()= "1" %>'> ...</asp:PlaceHolder>
ok,no problem,just a moment.<% if #DataBinder.Eval(Container.DataItem,"status")="1" then%> <td width="16%" style="FONT-SIZE:10pt"> <asp:Button ID="Test" Runat="server" Width="40" Text="Submit"></asp:Button></td> <% else %> <td> </td> <% end if%> ths you reversion.
...</asp:PlaceHolder>
<td width="16%" style="FONT-SIZE:10pt">
<asp:Button ID="Test" Runat="server" Width="40" Text="Submit"></asp:Button></td>
<% else %>
<td> </td>
<% end if%>
ths you reversion.