Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
Dim cat As New ADOX.Catalog
Set cat.ActiveConnection = CurrentProject.Connection
For Each tbl In cat.Tables
Debug.Print tbl.Name
Next tbl
Set cat = Nothing
using System;
using System.Data;
using System.Data.OleDb;
namespace DatabaseSchemaExplorerExample
{
/// <summary>
/// Zusammendfassende Beschreibung für DatabaseSchemaExplorer
/// </summary>
class DatabaseSchemaExplorer
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main(string[] args)
{
OleDbConnection oleDbConnection = null;
try
{
oleDbConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Programme/Microsoft Office/Office/Samples/Nordwind.mdb;User Id=;Password=;");
oleDbConnection.Open();
DataTable dbSchemaTable = oleDbConnection.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, new object[]{null,null,null,"TABLE"});
foreach (DataRow row in dbSchemaTable.Rows)
{
Console.WriteLine(row["TABLE_NAME"]);
}
}
finally
{
if(oleDbConnection != null)
{
oleDbConnection.Close();
}
}
}
}
}