Example #1
0
        private void LoadDV()
        {
            QLDichVuBUS _DichVu = new QLDichVuBUS();

            dtgvDV.DataSource = _DichVu.GetData();
            ButtonControl(1);
        }
Example #2
0
        public void LoadDVToComboBox()
        {
            QLDichVuBUS _Services = new QLDichVuBUS();

            cmbTenDV.DataSource    = _Services.GetData();
            cmbTenDV.DisplayMember = "MaDV";
            cmbTenDV.ValueMember   = "GiaDV";
        }