Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (IsPostBack == false)
     {
         string               maPD  = Request.QueryString["MaPDVLCC"].ToString();
         DAO_Entity           daoPD = new DAO_Entity();
         DTOPhieuDatVatLieuCC dtoDH = daoPD.LayTTPhieuDatTheoMa(maPD);
         lbMPD.Text    = dtoDH.MaPDVLCC.ToString();
         lbNCC.Text    = dtoDH.dtoncc.MaNCC.ToString();
         lbTenNCC.Text = dtoDH.TenNCC.ToString();
         lbNTT.Text    = DateTime.Now.ToShortDateString();
         lbTong.Text   = dtoDH.CongNoNCC.ToString();
     }
 }