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