title: Add multiple nodes to datagridview
body: <p>My database is similar to this:</p>
  
  <pre><code>enter code here
  &lt;data&gt; 
    &lt;Var1&gt; 
      &lt;ID&gt;test&lt;/ID&gt; 
      &lt;Value&gt;...&lt;/Value&gt;
    &lt;/Var1&gt; 
    &lt;Var2&gt; 
      &lt;ID&gt;abc&lt;/ID&gt;
      &lt;Value&gt;123&lt;/Value&gt;
    &lt;/Var2&gt; 
  &lt;/data&gt;
  </code></pre>
  
  <p>Can I add all of the Var nodes to a Datagridview? Or I have to put them into one node like this:</p>
  
  <pre><code>&lt;data&gt;
    &lt;Var&gt;
      &lt;ID&gt;test&lt;/ID&gt;
      &lt;Value&gt;...&lt;/Value&gt;
    &lt;/Var&gt;
    &lt;Var&gt;
      &lt;ID&gt;abc&lt;/ID&gt;
      &lt;Value&gt;123&lt;/Value&gt;
    &lt;/Var&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>I can display them with one node but I want to separate them into multiple nodes them display them all in a datagridview. here my code</p>
  
  <pre><code> XmlDocument doc = new XmlDocument();
          doc.Load(@"my xml file");
          string path= @"my xml file";
          DataSet tab = new DataSet();
          tab.ReadXml(path);
          //database
          //dataGridView1.DataSource = tab.Tables[0];
          //dataGridView1.DataSource = tab.Tables[1];
          dataGridView1.DataSource = tab;
          dataGridView1.DataMember ="Var1";
          dataGridView1.DataMember = "Var2";
  </code></pre>