Quote:
|
Did you resolve the issue with the form controls and state? If so, would you mind sharing how you solved it?
|
Second attempt to find out more about your results. For future visitors to this forum (and to me), it would be nice if you shared if, and how, you resolved the original topic. Also, it's often better to start a new thread instead of continuing an old one.
That said, the error message you get is by design. I assume you're using a GridView set up for paging. The OracleDataReader is a "forward-only" type reader which doesn't support server side paging.
You need to implement server side paging manually (for example, only get the necessary number of records from the database and assign it to the grid) or you can convert your reader to something that's supported by the GridView:
For more information:
http://msdn.microsoft.com/en-us/library/aa479347.aspx
http://www.google.com/#hl=en&source=...4aa51310bf9075
To convert the reader to a DataTable:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=406
Note: this can lead to very bad performance where you get all records from the database and only display a few.
You can think OracleDataReader whereever you see SqlDataReader.
Cheers,
Imar