开发者

Load parts of an XML file into a DataSet

开发者 https://www.devze.com 2022-12-28 05:05 出处:网络
I have a DataSet with some Datatables and I am saving this DataSet as XML file (C#) ..is there any way to load only some part开发者_高级运维s of this XML file into the DataSet when I start my program

I have a DataSet with some Datatables and I am saving this DataSet as XML file (C#) ..is there any way to load only some part开发者_高级运维s of this XML file into the DataSet when I start my program instead of loading all the file ?


Position your XmlReader on the start of the fragment you want, then call DataTable.ReadXml.

0

精彩评论

暂无评论...
验证码 换一张
取 消