title: How can I get previous item in resultset?
body: <p>Suppose we have this query:</p>
  
  <pre><code>ResultSet result = ("select * from table_name");
  </code></pre>
  
  <p>Now we can get information from result in this form</p>
  
  <pre><code>while(result.next())
  {
    .
    .
    .
  }
  </code></pre>
  
  <p>but in this form we can go forward. <strong>Now I want to know if it possible that result get back?</strong></p>
  
  <p>For example we get information <code>name='sam', fname='nic'</code>. And for next I want go back and get this information again.</p>
  
  <p>Is it possible?</p>