Datagrid and moving to a specific record

G

Guest

I have a problem in a site i am developing. I have a search page that when
results are found are bound to a datagrid. The datagrid displays the product
code and the product name. The product code is a hyperlink to another page
and passes the subcategory ID as a parameter, but displays the product code
as the text of the hyperlink. this is a template column so i can add the
product code as an extra paramater. This leads me to the problem.

When the link is pressed the products page loads and displays the summary
information for the sub category with all the products for that category
displayed in the datagrid. If the sub category has more than 5 products the
user can page between recordsets, however some sub categorys have up to 31
pages of products. The item they clicked on to view from the search may not
be on the first page but may be on the 15th. I need to be able to go to the
specific page in the resultset and wondered if anyone can point me in the
right direction. I can add the extra parameter into the hyperlink to pass
through to the products page but have no idea what to do.

I have tried a google search to find soemthing i can borrow from but found
nothing. If anyone knows of a an ado.net function or a web page that has
something simialr i would be very grateful.

TIA
 

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

Top