using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
public class MainClass
{
public static void Main(){
DataSet ds = new DataSet();
XmlReadMode mode=XmlReadMode.Auto;
mode = XmlReadMode.Auto;
mode = XmlReadMode.DiffGram;
mode = XmlReadMode.Fragment;
mode = XmlReadMode.IgnoreSchema;
mode = XmlReadMode.InferSchema;
mode = XmlReadMode.ReadSchema;
ds.ReadXml("yourFile", mode);
}
}