Question: how to get gridview cell value in c#?
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;