I have retrieved a List of records from a SQL Server table, using SqlConnection, SqlCommand, and SqlDataReader.
I have successfully shown table headings for the list of records, but how do I output the list that I have created?
Can I include a command in the SqlDataReader "while" loop that outputs each record immediately after it is added to the List?