|
|
Browse by Tags
All Tags » XML » c# (RSS)
-
This tutorial will show you how to navigate XML information items in ASP.NET 2.0 using C#. First, import the namespace of System.XML and System.XML.XPath
The System.Xml.XPath namespace contains the classes that define a cursor model for navigating and editing XML information items as instances of the XPath 2.0 Data Model. In this sample, we will ...
-
How to read data from an XML file and display it in a DataGrid?
VB.NET
dim ds as new DataSet()
ds.ReadXml (Server.MapPath ("products.xml"))
DataGrid1.DataSource =ds
DataGrid1.DataBind()
C#
DataSet ds= new DataSet ();
ds.ReadXml (Server.MapPath ("products.xml"));
DataGrid1.DataSource =ds;
DataGrid1.DataBind();
How ...
|
|
|