예제 #1
0
        protected void loadClaim(string maclaim)
        {
            ClaimDTO cl = new ClaimDTO();

            cl = cldao.LayInFo(maclaim);
            lblThamChieuHead.Text   = cl.TenClaim.ToString();
            txtReferencenumber.Text = cl.TenClaim.ToString();
            txtDateofloss.Text      = cl.Dol.ToString();
            txtPremises.Text        = cl.Premises.ToString();
            txtTypeOfloss.Text      = cl.TypePolicy.ToString();
            txtbrief.Text           = cl.TomTatVuViec.ToString();
            txtNote.Text            = cl.GhiChu.ToString();
            txtPolicyNo.Text        = cl.PolicyNo.ToString();
            txtEffective.Text       = cl.Effective.ToString();
            txtA1.Text          = cl.A1.ToString();
            txtA2.Text          = cl.A2.ToString();
            txtC1.Text          = cl.C1.ToString();
            txtC2.Text          = cl.C2.ToString();
            txtC3.Text          = cl.C3.ToString();
            txtE1.Text          = cl.E1.ToString();
            txtE2.Text          = cl.E2.ToString();
            txtG.Text           = cl.G.ToString();
            txtH.Text           = cl.H.ToString();
            txtI.Text           = cl.I.ToString();
            txtK.Text           = cl.K.ToString();
            ckDiscuss.Text      = cl.Discuss.ToString();
            txtD1.Text          = cl.D1.ToString();
            txtLossHistory.Text = cl.LossHistory.ToString();
            txtGioiThieu.Text   = cl.GioiThieuNDBH.ToString();
        }