开发者

reading data from xml file to table [closed]

开发者 https://www.devze.com 2023-02-28 19:14 出处:网络
开发者_高级运维 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form
开发者_高级运维 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how to read data from xml file to table


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


It's so easy, just call DataTable.ReadXml

0

精彩评论

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