Пример #1
0
        protected void BindGrid(String claimID)
        {
            DataRow row = claimDao.LayInFoReport(claimID);

            if (row != null)
            {
                lblSoThamChieu.Text  = row["TenClaim"].ToString();
                lblNgayGiamDinh.Text = row["GioKhaoSatHienTruong"].ToString();

                //table ref
                lblPolicyNo.Text            = row["PolicyNo"].ToString();
                lblNgayTonThat.Text         = row["Dol"].ToString();
                lblNgayGiamDinhDauTien.Text = row["GioKhaoSatHienTruong"].ToString();
                lblDuPhongTonThat.Text      = row["DuPhongTonThat"].ToString();

                lblNguoiKhieuNai.Text = row["TenKhachHang"].ToString();

                lblNhaBaoHiem.Text   = row["TenDonVi"].ToString();
                lblGiamDinhVien.Text = row["TenGDV"].ToString();
            }
            //mClaim = claimDao.LayInFo(claimID);

            DataTable dt = LoaiHangMucDAO.GetListInLostList(claimID);

            gvLoaiHangMucDetails.DataSource = dt;
            gvLoaiHangMucDetails.DataBind();
        }
        protected void BindGrid(String claimID)
        {
            DataTable dt = LoaiHangMucDAO.GetListInLostList(claimID);

            gvLoaiHangMucDetails.DataSource = dt;
            gvLoaiHangMucDetails.DataBind();
        }