DataReader as a DataSource

DataReader can be used as a data source to a control, so no need of while loop for getting for getting data into a control.

Advertisements