What type of database you are using and what kind of connection you use to connect to your database? Different type of connection may be have different ways to retrieve the field list in the table. For example for oleDBConnection we use OleDb.OleDbConnection.GetOleDBSchemaTable function.
Dim schema2 as DataTable = m__oleDB.GetOleDbSchemaTable(OleDb.OleDbSchemaGuid.Columns, NewObject() {Nothing, Nothing, "MyTable", Nothing})
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.