gridview更新出错(万分紧急)
string sqlcomm = "update edp_job_schoolrecord set job_body = '" + ((TextBox)(GridView1.Rows[e.RowIndex].Cells[0].Controls[0])).Text.ToString().Trim() + "' where job_schoolrecordid = " + GridView1.DataKeys[e.RowIndex].Value + "";if (DB.dsinsert(sqlcomm))
{
Response.Write("<script>alert('恭喜你信息更新成功!')</script>");
}
else
{
Response.Write("<script>alert('恭喜你信息更新失败!')</script>");
}
bindgridview();