DataReaders are forward only / read only. If you need such random access
between records, you either need to write your own server side cursor
implementation (not recommended), or go the DataTable/DataSet route.
--
- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------
"David Thielen" <(E-Mail Removed)> wrote in message
news:6ED4D64E-D7D5-4485-B864-(E-Mail Removed)...
> Hi;
>
> In .net 2.0 I need the ability to not only get the next row in a result
> set,
> but also the previous. Is there a way to do this in .net? (Similiar to the
> JDBC ResultSet.previous?)
>
> --
> thanks - dave