for (int i = 0; i < GridView1.Rows.Count; i++){ for (int j = 0; j < GridView1.Columns.Count; j++) { GridView1.Rows[i].Cells[j].Text; }}