P
Peter Foot [MVP]
The Schema table will return details on the field returned, their datatypes
size etc which you would need to use to create a datatable to insert the
records into. You will need to do a considerable amount of work to duplicate
the functionality of the DataAdapter and at the end of the day you will
probably not improve on the performance of the DataAdapter. You should look
into the options you have available to reduce the amount of data you
retrieve at any one time - there is no getting away from the fact that the
more data you load into a dataset the longer it will take and the more
memory it will consume. Also if you are currently running the original RTM
release of the Compact Framework you should install Service Pack 1 as this
introduces some performance improvements in System.Data and other areas.
Peter
size etc which you would need to use to create a datatable to insert the
records into. You will need to do a considerable amount of work to duplicate
the functionality of the DataAdapter and at the end of the day you will
probably not improve on the performance of the DataAdapter. You should look
into the options you have available to reduce the amount of data you
retrieve at any one time - there is no getting away from the fact that the
more data you load into a dataset the longer it will take and the more
memory it will consume. Also if you are currently running the original RTM
release of the Compact Framework you should install Service Pack 1 as this
introduces some performance improvements in System.Data and other areas.
Peter