How to query table structures from an access database?
问题 I want to get the structure of all the tables and odbc-Datasources in an Access database with C#. So I tried this code: string text=""; var tables = GetApp().CurrentData.AllTables; for (int i = 0; i < tables.Count; i++) { var currentTable = tables.Item(i); text = text + currentTable.FullName + Environment.NewLine; } MessageBox.Show(text); This returns all the availible tablenames. But how do I get the columnnamens and types of the tables? I tried this: var props = currentTable.Properties; for