protected void Button1_Click(object sender, EventArgs e) { int s = Convert.ToInt32(Request.QueryString["id"]); int Aid = Convert.ToInt32(Request.QueryString["Aid"]); int Did = Convert.ToInt32(Request.QueryString["Did"]); SourecDal repo = new SourecDal(); repo.TempUpdate(s); Response.Redirect("~/Approval/ApprovalForm.aspx"); }