Posted on 9:55 AM by prajeesh and filed under
ASP.net,
C#
The usual workaround for this purpose is loopthrough the rows in the Data Reader and assign each rows to Data Table, This is a time consuming process.
But Dot Net 2.0 and above provides a new DataTable.Load() as a quicker solution.
Here is the method
DataTable.Load(IDataReader);
short and hits the target..
Post a Comment