Question: how to get a cell value from gridview in asp.net?
Answer: GridViewRow row = dgCustomer. SelectedRow; TextBox1. Text = "Cell Value" + row. Cells[1]. Text + ""; GridViewRow row = dgCustomer. SelectedRow; TextBox1. Text = row. RowIndex. ToString(); TextBox1. Text = dgCustomer. Rows[row. RowIndex]. Cells[1]. Text;