ASP 101 - Active Server Pages 101 xmldatagrid.aspx
<%@ Page Language="VB" %>
<%@ Import Namespace="System.Data" %>
<script language="VB" runat="server">
	Sub Page_Load(sender As Object, e As EventArgs)
        Dim MyDataSet As New DataSet
        MyDataSet.ReadXml(Server.MapPath("xmlxsl.xml"))
        MyDataGrid.DataSource = MyDataSet.Tables(0)
        MyDataGrid.DataBind()
    End Sub
</script>
<html>
<head>
<title>ASP.NET XML to DataGrid Sample</title>
</head>
<body>
<asp:DataGrid id="MyDataGrid" runat="server"
	CellPadding = 2
	CellSpacing = 0
	Border      = 2
	BorderColor = "#000000"
	Headerstyle-BackColor = "#CCCCCC"
	HeaderStyle-ForeColor = "#000000"
	HeaderStyle-Font-Bold = "True"
	ItemStyle-BackColor            = "#FFFFFF"
	AlternatingItemStyle-BackColor = "#CCCCFF"
/>
<p>
Here's the source <a href="xmlxsl.xml">XML</a> file.
</p>
<hr />
<p>
Click <a href="http://www.asp101.com/samples/xmldatagrid_aspx.asp">here</a>
to read about and download the source code.
</p>
</body>
</html>