Does anyone know how to get columns' properties (just like what sp_columns gives you) by using the Oledb get schema method of the ado.net connection object
¤ Does anyone know how to get columns' properties (just like what sp_columns gives you) by using the Oledb get schema method of the ado.net connection object?
You can use GetOleDbSchemaTable:
Sub ListDatabaseSchema()
Dim DatabaseConnection As New System.Data.OleDb.OleDbConnection
Dim SchemaTable As DataTable
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.