Esempio n. 1
0
 protected void btn_save_Click(object sender, EventArgs e)
 {
     demand demand = new demand();
     demand.GetModel(this.txtDocid.Value);
     demand.ifPay = "1";
     demand.Update();
     ClientScript.RegisterStartupScript(ClientScript.GetType(), "myscript", "<script>success();</script>");
 }
Esempio n. 2
0
 protected void btn_save_Click(object sender, EventArgs e)
 {
     demand demand = new demand();
     demand.GetModel(this.txtDocid.Value);
     demand.phone = this.txtphone.Value;
     demand.summary = this.txtSummary.Value;
     demand.id = this.txtDocid.Value;
     demand.ifPublish = "1";
     demand.Update();
     Response.Redirect("getBountry.aspx?id=" + this.txtDocid.Value + "&rend=" + System.Guid.NewGuid().ToString() + "");
 }