查看文章 |
The only good way is to keep paging through your data, and check every page for the value you are looking for. To speed things up a little, build this capability into your paging system, so that when it is searching for a particular record, it doesnt pull back the entire field set, but only the fields you are searching on (e.g. the id field). Then once you have found which page the data is in, you can re-run the query to get the entire result set for that page.
Tigran.Hayrapetyan Richard Judson todd schilling instegator Kileran Linak nate.sammons Clarke Scott Philosophil St Robel Cof139 anina Pär Hedberg CelsoJP Adam Rogas SydneyGentleman Daniel Miller Akwest serimc MitkoB mattyo markybark Nikolaus Brennig JohnEwing Tom ODonnell synthkid Chrisww2 Flaxen gmcnickle Stephane GOUDEAU toecutter t341 Franji REM7600 Pelle Alpesh555 Karp2005 MikeeSiow George Hughen Tech_Exceptional kulykr limssd John Gossman Justinsfddsfsfd Marsenne AlexanderP Redking jcseth jimcason Heather Grantham koknc DaveSmith Ken Smith Blaze111111 Bellam_Chandru Vamsee Krishna G Lee J. Weingart Philip Hutchinson Yara184108 Jon Vincent Steve - new to VPF9 DevOrDie HiTech2k AvanadeBill Kronuz Fatt goku_simon PoloDude Manivenkit Ger Teunis Sydonn Absolute Beginner Compound_G cr4sh3d.r00t JWBrouillette Arulvel cobra99sc Jason Li PoulErik yza suklan Jeff Owens XGamerX Patrick Oliveros Shawn Levendusky etiennemartin JDevitt Evan Winslow IsabellaTsoglin NatashaKarlsson aydinserkan ABOH Hi all
Have this problem I have been working on for a while now and cant seem to find a solution. I am sure its easy to solve. I have a datagrid bound to a dataset bringing back a list of products in our database. The Datagrid has been setup with paging to display one product at a time on the page. Sometimes I may need to jump straight to another record in the datagrid (say Product 5 out of 100). I am passing the product code to the page which renders the datagrid. How can I take this product number and jump straight to that product in the datagrid |