dataset string dataset

                DataSet ds = new DataSet();
                ds.ReadXml(dataFile);

                
                Console.WriteLine(data.Length);

                string dataxml = ds.GetXml();
                

                DataSet ds1 = new DataSet();
                using (System.IO.StringReader xmlSR = new System.IO.StringReader(dataxml))
                {
                    ds1.ReadXml(xmlSR);
                }

 

posted @ 2013-07-02 18:21  李占卫  阅读(308)  评论(0编辑  收藏  举报