Question: how to fetch value from gridview in asp.net?
Answer: GridViewRow row = dgCustomer. SelectedRow; TextBox1. Text = "Cell Value" + row. Cells[1]. Text + ""; And it writes the "Cell Value" but nothing else. ...  GridViewRow row = dgCustomer. SelectedRow; TextBox1. Text = row. RowIndex. ToString(); I have tried: TextBox1. Text = dgCustomer. Rows[row. RowIndex]. Cells[1]. Text;