public void getDateMedicine() { PersonalClinicDataSet.MEDICINEDataTable tableMedicine = medicineBUS.getData(); ColCbxMedicine.DataSource = tableMedicine; ColCbxMedicine.ValueMember = "idMedicine"; ColCbxMedicine.DisplayMember = "fullName"; }
// getDataGrid public void getDataGrid() { PersonalClinicDataSet.MEDICINEDataTable tableMedicine = medicineBus.getData(); dgvMedicine.DataSource = tableMedicine; }