简体   繁体   中英

reading data from xml file to table [closed]

how to read data from xml file to table

It's so easy, just callDataTable.ReadXml

You can directly read an xml file to a datatable using DataTable.ReadXmlhttp://msdn.microsoft.com/en-us/library/system.data.datatable.readxml.aspx Then do your db commit with the data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM