Home All Groups Group Topic Archive Search About

Dynamic access to DataTable during DataAdapter.Fill

Author
7 Mar 2007 8:51 PM
Andrew
Hello,

Does anyone know if its  possible to access the row/column values of a
DataTable while a DataAdapter is filling the table? Maybe using a new thread?
I am currently trying to use a seperate thread for access while the main
thread runs the DataAdapter.Fill and so so far it looks like the table and
rows/columns are not added incrementally, but instead are only filled once
entire resultset has been determined and returned.

Any advice is appreciated.

Thanks,
Andrew

Author
7 Mar 2007 9:49 PM
Andrew
Actually it does seem to be working. The initial pull just took much longer
than I thought it would for the particular query I was running.

Show quote
"Andrew" wrote:

> Hello,
>
> Does anyone know if its  possible to access the row/column values of a
> DataTable while a DataAdapter is filling the table? Maybe using a new thread?
> I am currently trying to use a seperate thread for access while the main
> thread runs the DataAdapter.Fill and so so far it looks like the table and
> rows/columns are not added incrementally, but instead are only filled once
> entire resultset has been determined and returned.
>
>  Any advice is appreciated.
>
> Thanks,
> Andrew

AddThis Social Bookmark Button