Ejemplo n.º 1
0
        private void DSMaTacGia()
        {
            AllBusiness maTg = new AllBusiness();
            DataTable   dt   = maTg.LayTheoTacGia();

            cboTacGia.ValueMember   = "MaTG";
            cboTacGia.DisplayMember = "TenTG";
            cboTacGia.DataSource    = dt;
        }
Ejemplo n.º 2
0
        private void DsMaNxb()
        {
            AllBusiness maNsb = new AllBusiness();
            DataTable   dt    = maNsb.LayTheoNxb();

            cboNxb.ValueMember   = "MaNXB";
            cboNxb.DisplayMember = "TenNXB";
            cboNxb.DataSource    = dt;
        }
Ejemplo n.º 3
0
        private void DSMaKH()
        {
            AllBusiness maKh = new AllBusiness();
            DataTable   dt   = maKh.LayTheoKh();


            //hiển thị lên combobox
            cboMaKH.ValueMember   = "MaKH";
            cboMaKH.DisplayMember = "TenKH";
            cboMaKH.DataSource    = dt;
        }
Ejemplo n.º 4
0
        private void DSMaHoaDon()
        {
            AllBusiness maHD = new AllBusiness();
            DataTable   dt   = maHD.LayTheoMaHoaDon();


            //hiển thị lên combobox
            cboMaHD.ValueMember   = "MaHD";
            cboMaHD.DisplayMember = "MaHD";
            cboMaHD.DataSource    = dt;
        }
Ejemplo n.º 5
0
        private void DSMaTheLoai()
        {
            AllBusiness maTL = new AllBusiness();
            DataTable   dt   = maTL.LayTheoMaTheLoai();


            //hiển thị lên combobox
            cboTheLoai.ValueMember   = "MaTL";
            cboTheLoai.DisplayMember = "TenTheLoai";
            cboTheLoai.DataSource    = dt;
        }