DataTable dt = new DataTable("test"); dt.Columns.Add("column", typeof(string)); for (int i = 0; i < 7; i++) dt.Rows.Add(i); // writing xml dt.WriteXmlSchema("d://aa.xsd"); dt.WriteXml("d://aa.xml"); // reading xml DataTable dt1 = new DataTable(); dt1.ReadXmlSchema("d://aa.xsd"); dt1.ReadXml("d://aa.xml");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)