J
Jo
Hi,
I am using a OleDB provider that connects to ANY datasource - I do not know
if these have some nice ID that I can page on.
Using the OleDataAdapter FILL method. I then fill the dataset with say 1000
records.
If the source table is 6 000 000 rows long there is a problem in that the
datareader fetches all 6 000 000 and then returns the 1000 that I asked for.
This takes some time if the Provider is on another machine (as it would be
in any normal 3 tier environment)
Is there any way that this will be fixed in a future release or is there a
workaround without using "SELECT TOP n" in the select command as I do not
know the provider I am connecting with at the time and I do not know if
there is a ID col. on the table (could be oracle which does not support TOP
n).
Any response would be appreciated - even if it is to commiserate the
ineffectiveness of .NET paging.
thanks
Johan.
I am using a OleDB provider that connects to ANY datasource - I do not know
if these have some nice ID that I can page on.
Using the OleDataAdapter FILL method. I then fill the dataset with say 1000
records.
If the source table is 6 000 000 rows long there is a problem in that the
datareader fetches all 6 000 000 and then returns the 1000 that I asked for.
This takes some time if the Provider is on another machine (as it would be
in any normal 3 tier environment)
Is there any way that this will be fixed in a future release or is there a
workaround without using "SELECT TOP n" in the select command as I do not
know the provider I am connecting with at the time and I do not know if
there is a ID col. on the table (could be oracle which does not support TOP
n).
Any response would be appreciated - even if it is to commiserate the
ineffectiveness of .NET paging.
thanks
Johan.