nishant ranjan

nishant ranjan

  • NA
  • 390
  • 0

handling table and its row in code behind

Jan 20 2014 4:14 AM
<form id="form1" runat="server">
<div>
<table >
<tr >
<td></td>
<td><asp:TextBox ID="txtId" runat="server"></asp:TextBox></td>
</tr>
<tr >
<td></td>
<td><asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
</tr>
<tr >
<td></td>
<td><asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
</tr>

</table>
</div>
</form>
 
 
i have a table with row and controls.
is there any way by which we can know in which row number does control txtName or txtAddress fall or in row 1 which controls are there by accessing table at runtime i.e., in code page. either way will do. is it possible? if so then how can we do it

Answers (4)