J
John Smith
Hey folks,
Since in the windows form world, you can't bind a SqlDataReader to a
DataGrid, but you can bind a DataSet, would it be quicker to:
a) Return data to a SqlDataReader. Then loop through it and add the data to
the DataGrid manually 1 row at a time.
b) Return data to a DataSet and bind it to the DataGrid
I'm asking because I know DataSets have extra overhead which if not being
utilized is essentially a waste.
Thanks!
Since in the windows form world, you can't bind a SqlDataReader to a
DataGrid, but you can bind a DataSet, would it be quicker to:
a) Return data to a SqlDataReader. Then loop through it and add the data to
the DataGrid manually 1 row at a time.
b) Return data to a DataSet and bind it to the DataGrid
I'm asking because I know DataSets have extra overhead which if not being
utilized is essentially a waste.
Thanks!