Hi all,
I have a SQL routine which builds me an entire XML file and returns it as a string.
If I save the content of this file as sample.xml for instance, I am able to open it in IE or any other browser and the user can expand the nodes and see all the content he wishes.
I am trying to build a ASP.Net page which will display the content of a XML file in the same way (or similar) that the browsers do.
So far, I've been reading some posts and noticed I can use XmlDataSource control and its Data property to load the entire XML doc as a string. Now I am stuck how to display the contents. I found TreeView very confusing and not sure if DataGrid would be a alternative as well. I need to user to be able to open and expand the nodes.
Please someone point me to the right direction. What controls to use, etc... sample codes are the best ;-)
Thank you
View Complete Post