![]() |
#2
雪雨星风2008-10-20 12:05
|
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();