Datagrid custom sorting and paging using stored procedure

M

Mo

Hi,

I would like to implement a bi-directional (asc / desc) sorting feature on
the columns of my datagrid as well as have custom paging. I have looked at
many code samples out there and they just have basic examples of the
built-in functionality, nothing customized.

I would like to have a custom paging solution which looks like this:

(this Label keeps track of the document numbering)
"Showing 1 - 10 of XXX Documents"
(and these are the navigation links which show page numbers)
<<Prev 1 2 3 4 5 ... Next>>

I would also like to be able to click on any column in the datagrid and sort
it ascending and by clicking it again, sort it descending.

I am using VB.NET with stored procedures to populate the datagrid.

I would greatly appreciate it if anyone can show me how to get this done.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top