W William Ryan eMVP May 21, 2004 #3 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. HTH, Bill -- W.G. Ryan MVP Windows - Embedded www.devbuzz.com www.knowdotnet.com http://www.msmvps.com/williamryan/
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. HTH, Bill -- W.G. Ryan MVP Windows - Embedded www.devbuzz.com www.knowdotnet.com http://www.msmvps.com/williamryan/
H hrothenb Joined Apr 26, 2012 Messages 1 Reaction score 0 Apr 26, 2012 #4 Try for col As Integer = 0 To SqlReader.FieldCount - 1 Console.Write(SqlReader.GetName(col).ToString()) Next
Try for col As Integer = 0 To SqlReader.FieldCount - 1 Console.Write(SqlReader.GetName(col).ToString()) Next