ReadXml
method. Then, the DataSet is
bound to the DataGrid's DataSource
property. Finally, the DataGrid's DataBind()
method is called.
The Contents of the XML File books.xml
title | author | year |
Teach Yourself Active Server Pages 3.0 in 21 Days | Mitchell | 1999 |
Designing Active Server Pages | Mitchell | 2000 |
ASP.NET: Tips, Tutorials, and Code | Mitchell | 2001 |
ASP Unleashed | Walther | 1998 |
ASP.NET Unleashed | Walther | 2002 |
Creating Data Driven ASP.NET Applications | Seven | 2002 |
A Nicer Looking DataGrid Representation of the XML File books.xml
Title | Author | Year |
Teach Yourself Active Server Pages 3.0 in 21 Days | Mitchell | 1999 |
Designing Active Server Pages | Mitchell | 2000 |
ASP.NET: Tips, Tutorials, and Code | Mitchell | 2001 |
ASP Unleashed | Walther | 1998 |
ASP.NET Unleashed | Walther | 2002 |
Creating Data Driven ASP.NET Applications | Seven | 2002 |
Source Code
|