/// <summary>
        /// Load ds ve phat hanh
        /// </summary>
        private void LoadDSHopDongVe(int SoHopDong, DateTime TuNgay, DateTime DenNgay)
        {
            DataTable dt = Ve.GetDSVeTheoHopDong(SoHopDong, TuNgay, DenNgay);

            grdVePhatHanh.DataMember = "ListVehopDong";
            grdVePhatHanh.SetDataBinding(dt, "ListVehopDong");

            if ((dt != null) && (dt.Rows.Count > 0))
            {
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Load ds ve phat hanh
        /// </summary>
        private void LoadDSHopDongVe(int SoHopDong, DateTime TuNgay, DateTime DenNgay)
        {
            DataTable dt = Ve.GetDSVeTheoHopDong(SoHopDong, TuNgay, DenNgay);

            grdVePhatHanh.DataMember = "ListVehopDong";
            grdVePhatHanh.SetDataBinding(dt, "ListVehopDong");

            if ((dt != null) && (dt.Rows.Count > 0))
            {
                lblLienHe.Text    = dt.Rows[0]["LienHe"].ToString();
                lblKhachHang.Text = dt.Rows[0]["TenKhachHang"].ToString();
            }
        }