How do I convert an XLS document to XML in C#?

前端 未结 2 1355
暗喜
暗喜 2020-12-20 06:14

I have an Excel spreadsheet that looks like:

spreadsheet http://img186.imageshack.us/img186/6495/exelf.jpg

I\'d like to convert this to some XML that looks l

相关标签:
2条回答
  • 2020-12-20 06:23

    Take a look at this Google result:
    http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/b6e8a28c-6760-4e86-a1aa-e2ce9ec36380

    Read the Excel file into a DataTable and use DataTable.WriteXml().

    0 讨论(0)
  • 2020-12-20 06:24

    try File | Save As, filetype .xml

    0 讨论(0)
提交回复
热议问题