for (int ii =0 ;ii <GridView1.Rows.Count ;ii++)
{
// 取的 GridView 第ii行,第一列的值
string strValue = GridView1.Rows[ii].Cells[0].Text.ToString().Trim();
// 抓取 GridView 內元件的值
string strText = ((HiddenField)GridView1.Rows[ii].FindControl("元件名稱")).Value;
}