I've looked at a lot of pagination tutorials that are out there and I can muddle my way through them. The problem is that they all seem to deal with basic scenarios, like bringing back all of the users in a database.
I'm trying to bring back all of the results from my database based on multiple selections in two listboxes. Without the pagination part, I've managed to loop through the arrays and concatenate the query string and so have brought back all of the results. I've even created the "Next Page" link, and have done some of the pagination coding. My problem is that I don't know how to keep the users choices in the listbox. When I go to the next page, the variable holding the query results isn't valid anymore. Does anyone know of a relatively simple real-world tutorial to handle pagination?