^ true...
vb Code:
Dim SchemaTable As DataTable = conn.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables, New Object() {Nothing, Nothing, Nothing, Nothing}) Dim int As Integer For int = 0 To SchemaTable.Rows.Count - 1 If SchemaTable.Rows(int)!TABLE_TYPE.ToString = "TABLE" Then 'Add items to list box ListBox1.Items.Add(SchemaTable.Rows(int)!TABLE_NAME.ToString()) End If Next
That should get you going : ).
Justin




Reply With Quote