コード例 #1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            ClaimCreationModel cla = new ClaimCreationModel();

            // cla.kp_claimname = TextBox1.Text;
            cla.kp_claim        = TextBox1.Text;
            cla.kp_claimcontact = new Guid(HttpContext.Current.Request.Cookies[1].Value);
            cla.kp_claimpolicy  = new Guid(DropDownList1.SelectedValue);

            CreateClaim creation = new CreateClaim();

            creation.ClaimCreate(cla);
        }
コード例 #2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            ClaimCreationModel cla = new ClaimCreationModel();

            // cla.kp_claimname = TextBox1.Text;
            cla.kp_claim        = TextBox1.Text;
            cla.kp_claimcontact = new Guid(HttpContext.Current.Request.Cookies.Get("UserID").Value);
            cla.kp_claimpolicy  = new Guid(DropDownList1.SelectedValue);

            CreateClaim creation = new CreateClaim();

            creation.ClaimCreate(cla);
            Response.Redirect("PolicyDisplay.aspx");
        }