Пример #1
0
        // load kho

        public void LoadKhoHang()
        {
            cbKhoXuatHang.Properties.DataSource    = wareHouseBUS.LoadKhoHang();
            cbKhoXuatHang.Properties.DisplayMember = "TenKho";
            cbKhoXuatHang.Properties.ValueMember   = "MaKho";
            cbKhoXuatHang.ItemIndex = 0;


            cbKhoNhanHang.Properties.DataSource    = wareHouseBUS.LoadKhoHang();
            cbKhoNhanHang.Properties.DisplayMember = "TenKho";
            cbKhoNhanHang.Properties.ValueMember   = "MaKho";
            cbKhoNhanHang.ItemIndex = 1;
        }
        public void loadKho()
        {
            DataTable data = wareBUS.LoadKhoHang();

            cbKhoNhap.Properties.DataSource    = data;
            cbKhoNhap.Properties.DisplayMember = "TenKho";
            cbKhoNhap.Properties.ValueMember   = "MaKho";
            cbKhoNhap.ItemIndex = 0;
        }
Пример #3
0
        public void LoadKhoHang()
        {
            DataTable dt = wareBUS.LoadKhoHang();

            cbKhoMacDinh.Properties.DataSource    = dt;
            cbKhoMacDinh.Properties.DisplayMember = "TenKho";
            cbKhoMacDinh.Properties.ValueMember   = "MaKho";
            cbKhoMacDinh.ItemIndex = 0;
        }
Пример #4
0
        public void loadKhoHang()
        {
            DataTable data = new DataTable();

            data = wareBUS.LoadKhoHang();

            cbKhoHang.Properties.DataSource    = data;
            cbKhoHang.Properties.DisplayMember = "TenKho";
            cbKhoHang.Properties.ValueMember   = "MaKho";
        }