how to store and which object should be use to store value for the later usage
<p>I have a three texbox and Next and Prevoius BUTTON .</p>

<p>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.</p>

<p>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.</p>

<p>But my problem is that each time whenever i click on <strong>NEXT</strong> or <strong>PREVOIUS</strong> 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</p>
