title: How to access List Items in a list
body: <p>I'm trying to display the ListItems in a gridview.</p>
  
  <p>Please help me in finding a way to access the list items.</p>
  
  <pre><code>using (SPSite site = new SPSite("http://mysitehere......"))
  {
      using (SPWeb web = site.OpenWeb())
      {
          SPList list = web.Lists["TestList"];
          .......
          .......
      }
  }
  </code></pre>
  
  <p>Please help me in accessing the list item values.</p>