private void PopulateCombos() { try { DataTable dt = new DataTable(); DAL.Offices obj = new DAL.Offices(); obj.connectionstring = objDAL.connectionstring; dt = obj.getRecord(string.Empty); CmbOffice.ValueMember = "OfficeID"; CmbOffice.DisplayMember = "Description"; CmbOffice.DataSource = dt; } catch (Exception exc) { MessageBox.Show(exc.Message); } }