G
Guest
Given the following situation which is better, should the data be read using
a datareader then put into a grid for inline editing, etc. Or should it be
placed into a Datatable then datagrid for the same activity?
web app., maybe 50 users at once, record size maybe 100-250.
I've read that using a connected dataReader to get and populate, then close
the connection is light and fast. And that datatables are disconnected and
memory resident. There must be a re-use advantage to a datatable. But both
are placed into a datagrid for the same inline editing. I would think that if
you need to update a larger set of data at once then datatable. What are the
advantages and disadvanatges of both?
thanx.
a datareader then put into a grid for inline editing, etc. Or should it be
placed into a Datatable then datagrid for the same activity?
web app., maybe 50 users at once, record size maybe 100-250.
I've read that using a connected dataReader to get and populate, then close
the connection is light and fast. And that datatables are disconnected and
memory resident. There must be a re-use advantage to a datatable. But both
are placed into a datagrid for the same inline editing. I would think that if
you need to update a larger set of data at once then datatable. What are the
advantages and disadvanatges of both?
thanx.