SqlDataAdapter adp=new SqlDataAdapter();   
  DataSet ds=new DataSet();
    conn.Open();adp.Fill(ds,"Customers");
    conn.Close();ds.WriteXml("x.xml");
     ds.WriteXml("myXmlFie2.xml",XmlWriterMode.WriteSchema);
     ds.WriteXmlSchema("schema.xml");
      ds.Clear();
      ds.ReadXml("x,xml");
     DataTable myDataTable=
     DataTables["Customers"];
  foreach(DataRow dr in myDataTable.Rows)