But why are you using html table???
use datatable, and grid, bind the grid with datatable, use gridview rowcommand event it is much more easier way to do the thing.....
if you are really want to use html table then have to do some more work....
give "id" to the table and set runat="Server" i.e. make table a server control.
and then Do some necessory changes in following code....
Control ctrl;
Button btn;
foreach(ctrl in tablename.controls(0).controls(0).controls
{
if (myControl is System.Web.UI.WebControls.Textbox)
{
session["value"]= (ctrl as textbox).text;
}
}
}
but still am not quite sure that it will store correct value