用foreach 遍历
foreach ( GridViewRow row in this.GridView1.Rows)
{
CheckBox ck1 = row.FindControl("CheckBox1") as CheckBox;
if (ck1!=null && ck1.Checked)
{
Dictionary
dic.Add("code",(row.FindControl("Label1")as Label).Text);
}
如果你的没有手动绑定数据就是 row.Cells[index].Text 取到相应的值