Read an xml file into a dataset
using System;
using System.IO;
using System.Data;
class MainClass
{
static void Main(string[] args)
{
string MyXMLDoc = @"<title> MyExample</title>";
StringReader MyStringReader = new StringReader(MyXMLDoc);
DataSet MyDataSet = new DataSet();
MyDataSet.ReadXml(MyStringReader);
}
}
|
HTML code for linking to this page:
Related in same category :
-
|