Sign in or 

|
JamesKW |
Why Doesn't the ODP.NET provide built in paging that is easier to use?
Oct 29 2009, 8:17 PM EDT
I realize you can use the RowSize and FetchSize to accomplish this but why not provide a nice way of doing this like the code sample below? Besides, you have to make a round trip to get the RowSize before you are able to do this. I also know you can use SQL with rownum to do this as well, but that isn't really part of ODP.NET. SqlDataReader sqlDataReader = sqlCommand.ExecutePageReader(CommandBehavior.CloseConnection, 1, 25); Many thanks, --James 1 out of 1 found this valuable. Do you? |