asp dropdownlist from xml need help

xwar1

New member
asp dropdownlist from xml need help

<asp:DropDownList ID="DropDownList1" runat="server"
DataSourceID="XmlDataSource2" DataTextField="id" DataValueField="id">
</asp:DropDownList>
<asp:XmlDataSource ID="XmlDataSource2" runat="server"
DataFile="~/App_Data/XMLFile1.xml"></asp:XmlDataSource>

xml file:
<?xml version="1.0"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>
An in-depth look at creating applications
with XML.
</description>
</book>
...


אני צריך שברשימה תהיה author (innertext)a לא id
DataTextField לא מקבל את "author"

משהו יודע אך לעשות את זה??
 
למעלה