My XMLFile is as shown below
Now if I need to retrive all the bookid alone and if i need to display that in a dropdownlist then how should I do in asp.net using C#?
and in the same wise after making the selected index changed in dropdownlist how should I retrive the particular details of bookid and display that in the textbox?
please help me?
I do not have clear cut idea how to proceed.
thanks in advance
regards
raghul
Code:
<?xml version="1.0" encoding="utf-8"?>
<root>
<BookDetails>
<bookid>156</bookid>
<bookname>xml</bookname>
<author>rajendran</author>
</BookDetails>
<BookDetails>
<bookid>789</bookid>
<bookname>ajax</bookname>
<author>kumaran</author>
</BookDetails>
</root>
and in the same wise after making the selected index changed in dropdownlist how should I retrive the particular details of bookid and display that in the textbox?
please help me?
I do not have clear cut idea how to proceed.
thanks in advance
regards
raghul
Comment