title: SharePoint list items into data table
body: <p>I would like to load a SharePoint list items into a data table.</p>
  
  <pre><code>SPWeb oWebsite = SPContext.Current.Web;
  SPList oList = oWebsite.Lists["List_Name"];
  SPListItemCollection collListItems = oList.Items;
  
  DataGrid1.DataSource = collListItems.GetDataTable();
  DataGrid1.DataBind();
  </code></pre>
  
  <p>The above snippet loads all items from the list into data table, but i need to load only specific list items/columns into the data table. How can it be done? Looking for some suggestions. Thanks. </p>