title: ASP.NET Pagination display using DataReader
body: <p>I have a list of around 30 records to display on a page, and ideally I only want to show 5 at a time, requiring some kind of pagination.</p>
  
  <p>I am using a datareader to construct the html to display via a literal as seen below:</p>
  
  <pre><code>currentLiteral.Text += "&lt;div class=\"row\"&gt;&lt;div class=\"twoColumnOne\"&gt;&lt;img src=\"image/" + (dReader["image"].ToString()) +" \"alt=\"" + (dReader["name"].ToString()) + "\"/&gt;&lt;/div&gt;"
                          + "&lt;div class=\"twoColumnTwo\"&gt;&lt;h3&gt;" + (dReader["name"].ToString()) + "&lt;/h3&gt;&lt;h5&gt;" + (dReader["location"].ToString()) + "&lt;/h5&gt;&lt;p&gt;" + (dReader["description"].ToString()) + "&lt;/p&gt;&lt;/div&gt;"
                          + "&lt;div class=\"clearFloat\"&gt;&lt;/div&gt;&lt;/div&gt;";
  </code></pre>
  
  <p>Is there a way I can achieve pagination with this?</p>