ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!

Please visit our partners

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates

ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

ASP.NET version of "XML to DataGrid"

We've already shown you a couple ways to display data from an XML file on a web page in our original XML to HTML (via XSL) sample and by using ASP.NET's XML control. While both of those scripts utilize an XSL stylesheet to format the XML into an appropriate HTML format, sometimes it's useful to take it a step further and actually use the XML as a true .NET data source. This sample shows you how to use an XML file as the data source of an ASP.NET DataGrid control.

Here's a zip file of the code (1.1 KB).

Play with the running version.

View the live source code.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers