r p

r p

  • NA
  • 343
  • 0

What is the best way to display XML file in a table?

Jul 28 2013 6:42 PM
I have an XML file as follows - 

<bookstore>

<book>
<title>
The Autobiography of Benjamin Franklin
</title>
<price>
8.99
</price>
</book>

<book>
<title>
The Confidence Man
</title>
<price>
11.99
</price>
</book>

</bookstore>

I have to display the content in the above XML in a Table/Gridview (Titles for the Table - Price|Title). 
What is the best way to display the above content in a table using ASP.NET(C#)?

Answers (7)