LogoASPAlliance: Articles, reviews, and samples for .NET Developers
CodeSnip: Fill A DataGrid From An XML File
by Web Team at ORCS Web
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 12583/ 40

The code below demonstrates how to populate an ASP.NET DataGrid control with the contents of an XML file.

<%Page Language="VB" Trace="false"%> 
<%@Import Namespace="System.Data"%> 
<script language="VB" runat="server"> 
Sub Page_Load(Src as Object, E as EventArgs) 
  Dim oDataSet As DataSet = New DataSet oDataSet.ReadXml
End Sub 
    <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.

Product Spotlight
Product Spotlight 

©Copyright 1998-2020  |  Page Processed at 2020-06-04 7:59:06 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search