douglaspune
New Member
I have a three texbox and Next and Prevoius BUTTON .When i click on next, next value with respect to AUTOGENERATED ID should be fetch and when i click on previous ,prevoius value should be fetch.let suppose, i am displaying current record as 2 ,when i click on next 3 should be display,but when i click on previous 1 should be display.But my problem is that each time whenever i click on NEXT or PREVOIUS button i have to get data from the database .I dont want to do this i want to store previous and next record in some object.how will i do so.I dont want to use viewstate or cache or session or application object .Is there any diffenrent logic .please help