title: Retrive data from xml file into a datagridview in c#.net
body: <p>I am importing data from an xml file to my datagridview in c#
  The problem is that only one row is shown in data grid view i.e it is overwritten .
  My code is as follows</p>
  
  <pre><code>DataSet ds = new DataSet();
  DataTable dt = new DataTable();
  
  for (int i = 0; i &lt;= 3; i++)
  {
      ds.ReadXml(@"C:\Users\dell\Downloads\ChillerReport.xml");
      dataGridView1.DataSource= ds.Tables[i].DefaultView;
  }
  </code></pre>
  
  <p>my xml code is as follows</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="file:///C:\TechView\XSL\Techview AshraeReport.xsl"?&gt;
   &lt;TraneChillerServiceReport label="ASHRAE Chiller Report"&gt;
   &lt;date label="Date"&gt;Wednesday, April 17, 2013 4:15:48 PM IST&lt;/date&gt;
    &lt;technician label="Technician"&gt;sss&lt;/technician&gt;
    &lt;job_name label="Job Name"&gt;01 17 04 13&lt;/job_name&gt;
   &lt;chiller_name label="Chiller Name"&gt;trane&lt;/chiller_name&gt;
   &lt;reference_number label="Ref Number"&gt;01&lt;/reference_number&gt;
  &lt;location label="Location"&gt;ppmf&lt;/location&gt;
  &lt;/chiller_setpoints&gt;
  &lt;/TraneChillerServiceReport&gt;
  </code></pre>
  
  <p>Please Help</p>