title: loading xml in c# but incomplete
body: <p>As in my last post I now managed to load the xml file in c# with the following code. But it is not loaded correctly as you can see in the picture below. Thank you in advance! :)</p>
  <p><a href="https://i.stack.imgur.com/QRhJV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QRhJV.png" alt="code for xml loading in c#" /></a></p>
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
      try
      {
          XmlReader xmlFile;
          xmlFile = XmlReader.Create(@&quot;test.xml&quot;, new XmlReaderSettings());
          DataSet ds = new DataSet();
          ds.ReadXml(xmlFile);
          dataGridView1.DataSource = ds.Tables[0];
      }
      catch (Exception ex)
      {
          MessageBox.Show(ex.ToString());
      }
  } 
  </code></pre>