Link to home
Start Free TrialLog in
Avatar of Keith Westberg
Keith Westberg

asked on

Oracle datagrid sorting and paging...

Does anyone have a working asp.net & vb.net model of a successful datagrid paging and sorting configuration.  Iv'e looked all day for an example, but still nothing.

Thank you in advance...

ASKER CERTIFIED SOLUTION
Avatar of daffodils
daffodils

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Keith Westberg
Keith Westberg

ASKER

Thank you daffodils for the quick response.

Unfortunatly, the article missed two areas that appear to be the major issue.  

1) Paging must be designed to work for Oracle.
2) It needs to function with more than a set amount of records.

Other than that, it was an interesting article.  Cheers
westbergk,

I know what you are saying.. I really don't have any working code sample for you .. I thought you might like the article as a logical reference point.

About the major issues that you have mentioned.. I think they can be covered or maybe there is something I am missing here..

a) Paging must be designed to work for Oracle.
>> Again this is just a code sample for Oracle..
    Dim strSQL As String = "SELECT * FROM Customers ORDER BY CompanyName"
    Dim myCommand As New OracleCommand(mySelectQuery)
    myCommand.Connection = New OracleConnection ("Data Source=Oracle8i;Integrated Security=yes")
    myCommand.CommandType = CommandType.Text

b) It needs to function with more than a set amount of records.
Dim strSQL As String = "SELECT * FROM Customers ORDER BY CompanyName"

But I think you would like it much better.. if some expert here has a working code.. best of luck.
Since daffodils did at least respond, and the sources did apply, I'll accept the effort...

Thank you daffodils... Keith
Thanks westbergk..