title: Gridview displaying XML file data
body: <p>Trying to use a gridview in asp.net to display a few simple rows of data from an xml file.  I've dropped my gridview on the page and choose xmldatasource but my error is something along the lines that the gridview1 does not have any properties or attributes to generate the columns. What else should I be doing.  Everything that I'm reading says add your xml file add your grid view then add your data source and that will render what is in your file. </p>
  
  <p>Thanks</p>
  
  <p>Here is the xml file</p>
  
  <pre><code>    &lt;Employees&gt;
        &lt;Employee&gt;
          &lt;Name&gt;Adams John&lt;/Name&gt;
          &lt;Age&gt;35&lt;/Age&gt;
          &lt;Gender&gt;M&lt;/Gender&gt;
          &lt;Salary&gt;65000&lt;/Salary&gt;
        &lt;/Employee&gt;
        &lt;Employee&gt;
          &lt;Name&gt;Mary Jane&lt;/Name&gt;
          &lt;Age&gt;35&lt;/Age&gt;
          &lt;Gender&gt;F&lt;/Gender&gt;
          &lt;Salary&gt;75000&lt;/Salary&gt;
        &lt;/Employee&gt;
      &lt;/Employee&gt;
  </code></pre>