G
Guest
H
I'm trying to find out how to enumerate the column names in an OdbcDataReader
whereas in VB6 I would have gon
For i = 0 to rs.Fields.Coun
Debug.Print rs.Fields(i).Nam
Nex
What can I do with an OdbcDataReader to achieve the same effect
I trie
dr.GetSchemaTable().Columns.GetEnumerator()
and looping through the caption property of the DataColumn objects within that collection but it was wrong, i.e. it wasn't the columns of my SQL query, more like some system columns or something
Thanks
I'm trying to find out how to enumerate the column names in an OdbcDataReader
whereas in VB6 I would have gon
For i = 0 to rs.Fields.Coun
Debug.Print rs.Fields(i).Nam
Nex
What can I do with an OdbcDataReader to achieve the same effect
I trie
dr.GetSchemaTable().Columns.GetEnumerator()
and looping through the caption property of the DataColumn objects within that collection but it was wrong, i.e. it wasn't the columns of my SQL query, more like some system columns or something
Thanks