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>"); }
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() + ""); }