Enumerating SqlDataReader column name

  • Thread starter Thread starter A.M
  • Start date Start date
Try

for col As Integer = 0 To SqlReader.FieldCount - 1 Console.Write(SqlReader.GetName(col).ToString())
Next
 
Back
Top