I figured it out. I finally found it in the vb Help.
Here is the code to return them into a datatable
Code:
Public Function GetTables(ByVal conn As OleDb.OleDbConnection) As DataTable
Dim schemaTable As DataTable = conn.GetOleDbSchemaTable(OleDb.OleDbSchemaGuid.Tables, _
New Object() {Nothing, Nothing, Nothing, "TABLE"})
Return schemaTable
End Function
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.