title: I want xml data bind to Listbox using xmldatasource but i got an error
body: <p>DataBinding: 'System.Web.UI.WebControls.XmlDataSourceNodeDescriptor' does not contain a property with the name 'name'.</p>
  
  <p>The XML File:</p>
  
  <pre><code> &lt;Persons&gt;
    &lt;Person &gt;
      &lt;id&gt;1&lt;/id&gt;
      &lt;name&gt;jkl&lt;/name&gt;
    &lt;/Person&gt;
    &lt;Person &gt;
      &lt;id&gt;2&lt;/id&gt;
      &lt;name&gt;jhk&lt;/name&gt;
    &lt;/Person&gt;
    &lt;Person &gt;
      &lt;id&gt;3&lt;/id&gt;
      &lt;name&gt;kjh&lt;/name&gt;
    &lt;/Person&gt;
    &lt;Person &gt;
      &lt;id&gt;4&lt;/id&gt;
      &lt;name&gt;jhkj&lt;/name&gt;
    &lt;/Person&gt;
    &lt;Person &gt;
      &lt;id&gt;5&lt;/id&gt;
      &lt;name&gt;lj&lt;/name&gt;
    &lt;/Person&gt;
    &lt;Person &gt;
      &lt;id&gt;6&lt;/id&gt;
      &lt;name&gt;jhkl&lt;/name&gt;
    &lt;/Person&gt;
    &lt;Person &gt;
      &lt;id&gt;7&lt;/id&gt;
      &lt;name&gt;jhj&lt;/name&gt;
    &lt;/Person&gt;
  &lt;/Persons&gt;
  </code></pre>
  
  <p>I want bind to listbox with <code>datatextfield=name</code> and <code>datavaluefield=id</code> from xml.</p>
  
  <p>aspx page code is like this:</p>
  
  <pre><code>   &lt;asp:ListBox ID="lstBinddata" runat="server" SelectionMode="Multiple"   DataSourceID="xmldata" DataTextField="name" DataValueField="id"&gt;
     &lt;/asp:ListBox&gt;
     &lt;asp:XmlDataSource ID="xmldata" runat="server" DataFile="xmldata.xml"&gt; &lt;/asp:XmlDataSource&gt;                              
  </code></pre>