如何获取GridView中更新后的单元格内容 string str1 = ((TextBox)GridView1.Rows[e.RowIndex].Cells[2].Controls[0]).Text.Trim();
xxxEntities1 db = new xxxEntities1();
var table1 = (from c in db.abcdefs
where c.place == str1
select c).Single();
table1.place = ((TextBox)GridView1.Rows[e.RowIndex].Cells[3].Controls[0]).Text.Trim();
table1.content = ((TextBox)GridView1.Rows[e.RowIndex].Cells[3].Controls[0]).Text.Trim();