62,272
社区成员
发帖
与我相关
我的任务
分享
protected void btnSave_Click(object sender, EventArgs e)
{
string str_update = "update [160414] set 名称='" + txtZoneName.Text + "' , 地址='" + txtAddress.Text + "' where ID=" + rqsID;
SqlConnection conn = new SqlConnection(str_conn);
SqlCommand cmd = new SqlCommand(str_update, conn);
conn.Open();
cmd.ExecuteNonQuery();
conn.Close();
Response.Redirect("Default.aspx");
}
