title: How to bind datatable with grid view without using bound and template fields in asp.net?
body: <pre><code>objRetailPL.branch = Request.QueryString[&quot;branch&quot;].ToString();
  
  objRetailPL.fromdate = Convert.ToDateTime(Request.QueryString[&quot;fromdate&quot;].ToString());
  
  objRetailPL.todate = Convert.ToDateTime(Request.QueryString[&quot;todate&quot;].ToString());
  
  DataTable dtget = new DataTable();
  
  dtget = objRetailBAL.getWhReport(objRetailPL);
  
  GVWHReport.DataSource = dtget;
  </code></pre>
  <p>I want to display datatable values in grid with out using bound fields and template fields. Directly from database to datatable and in grid. Because I am using pivot table.</p>