Site Map       
Home
Web Services
XML in .NET
XML Schema
XSLT and XPath
XML Serialization
Database and XML
SOAP Related
XML Query
ASP.NET
Contact Info

.NET Notes

Sample Program Code:

Dim ds As DataSet = New DataSet()

ds.ReadXml(Server.MapPath("people.xml"))

With DataGrid1

  .DataSource = ds

  .DataMember = "name" .

  DataBind()

End With

Create A Dataset From An XML File

The Name Dataset loaded in the following grid was created from the People XML file shown in the textbox below.

FirstNameLastNamePerson_Id
JoeSuits0
LindaSue1
JeremyBoards2
JoanPage3


Copyright © 2015 Seanco Technology, Inc.  All rights reserved.