The code below demonstrates how to populate an ASP.NET DataGrid control with the contents of an XML file.
<%Page Language="VB" Trace="false"%>
<script language="VB" runat="server">
Sub Page_Load(Src as Object, E as EventArgs)
Dim oDataSet As DataSet = New DataSet oDataSet.ReadXml
<title>Fill A DataGrid From An XML File</title>
<asp:DataGrid id="oGrid" runat="server" />
by Brad Kingsley is Founder and President of ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.