G
Guest
On a web form I have a grid, grid1, with a ButtonColumn bound to a field in a
table. When the button is clicked I want do do something with the data view
in the row clicked. How do I retrieve the data in the clicked ButtonColumn?
When I use
GridViewRow selectedRow = GridView1.Rows[index];
TableCell installationName = selectedRow.Cells[1] ;
TextBox1.Text = installationName.Text;
It returns blank text.
How do I get the value in the clicked ButtonColumn?
table. When the button is clicked I want do do something with the data view
in the row clicked. How do I retrieve the data in the clicked ButtonColumn?
When I use
GridViewRow selectedRow = GridView1.Rows[index];
TableCell installationName = selectedRow.Cells[1] ;
TextBox1.Text = installationName.Text;
It returns blank text.
How do I get the value in the clicked ButtonColumn?