Skip navigation

How To Retrieve Column Names Using A DataReader and DataSet

This article shows three ways to retrieve database column names from DataSet and DataReader in ADO.NET. You have to access the individual table that is within the DataSet to retrieve the values.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish