Showing posts with the label DataTable

Difference between DataReader, DataSet, DataAdapter and DataTable in C# and VB.Net

DataReader DataReader as the name suggests reads data. DataReader is  used for fetching records from the SQL Query …

Convert a DataTable to Generic List Collection

Step 1:  Since we need to create a List<T>, define an instance and in this list we need to add our custom type T…