1 using (OleDbConnection connection = new OleDbConnection(GetConnectionString())) 2 { 3 connection.Open(); 4 5 // See MSDN's "OLE DB Schema Collections (ADO.NET)" for the Microsoft Jet OLE DB Provider 6 // http://msdn.microsoft.com/en-us/library/cc668764.aspx 7 using (DataTable tables = connection.GetSchema("Tables")) 8 { 9 foreach (DataRow row in tables.Rows) 10 comboBoxSheet.Items.Add((string)row["TABLE_NAME"]); 11 } 12 }