Tom:
Like Cor mentions, you can do it using an iterative approach, but whether or
not you want to is another story. Behind the scenes, DataAdapter.Fill uses
a DataReader to populate the datatable and in my experience, the performance
differences are virtually unnoticeable. However, you are adding some more
complexity here, namely that you are going ot have to be responsible for
opening and closing the connection and that you don't overrun any indexes
etc...and it's just a lot more code. I can't say it's the case in every
situation, but it's fair to say that most of the time,if you need the
functionality of a DataTable over a reader, it's probably better to just use
DataAdapter.fill
HTH,
BIll