想要从C#Windows应用程序中的xml生成Excel报告 [英] want to generate excel report from xml in c# windows application

查看:63
本文介绍了想要从C#Windows应用程序中的xml生成Excel报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先我将所有数据集导出到xml

现在我想在excel文件中获取所有xml文件数据
行和列明智的

我该怎么办?
你能帮我吗
thnks

first i export all data dataset to xml

now i want to get all xml file data in excel file
row and column wise

how can i do?
will u help me
thnks

推荐答案

使用DOM从XML提取数据,然后使用OFfice互操作或仅编写csv导出到Excel.
Extract the data from your XML with the DOM, then using OFfice interop or just write a csv to export to Excel.


这篇关于想要从C#Windows应用程序中的xml生成Excel报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆