public void FillCompanyCombo() { try { BusinessManager BM = new BusinessManager(); cboxCompany.AutoCompleteSource = AutoCompleteSource.ListItems; //cboxCompany.DropDownStyle = ComboBoxStyle.DropDownList; cboxCompany.DisplayMember = "CompanyName"; cboxCompany.DataSource = BM.BALFillCompanyCombo().Tables[0]; } catch (Exception ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }