private void FillPatientCombo() //Method to fill the Patient Combo box { try { PharmacyDataTier bPharm = new PharmacyDataTier(); DataSet ds1 = new DataSet(); ds1 = bPharm.FillCBOPatient(myPatientID); //filling combobox txtPatientID.Text = ds1.Tables[0].Rows[0]["combo"].ToString().Trim(); } catch (Exception ex) { } }