Load DataTable and DataSet from SqlDataReader

In this article we are going to see how
to load DataTable and DataSet from SqlDataReader object.

Load DataTable from SqlDataReader

In below example we will
see how to load DataTable from SqlDataReader. At first we have to read data
into SqlDataReader object then we will dump all data using Load() method. Have
a look on below example.