string str = "";
DataSet ds = new DataSet();
str = ds.GetXml().ToString();
DataSet ds1 = new DataSet();
TextReader tr = new StringReader(str);ds1.ReadXml(tr);