In addition to Alex's recommendation, you can use the GetSchemeTable method
to get more in depth info about the reader http://www.knowdotnet.com/articles/schemas2.html This may be more
information than you need but it's there if you need it.
for col As Integer = 0 To SqlReader.FieldCount - 1 Console.Write(SqlReader.GetName(col).ToString())
Next
Ask a Question
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.