private void FillDrugCombo() //Method to fill the Drug Combo box { try { PharmacyDataTier bPharm = new PharmacyDataTier(); DataSet ds1 = new DataSet(); ds1 = bPharm.FillCBODrug(); //filling combobox cboDrug.DataSource = ds1.Tables[0]; cboDrug.DisplayMember = "combo"; cboDrug.ValueMember = "NDCPackageCode"; } catch (Exception ex) { } }