如何从WPF中嵌入的资源文件Excel文件读取? [英] How can read from resource file excel file embedd in WPF?

查看:925
本文介绍了如何从WPF中嵌入的资源文件Excel文件读取?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何从WPF中的资源文件中读取Excel文件?
如果有人有一些代码,请举个例子
我不想使用Web浏览器控件...只读取特定列的特定行并显示结果...

How can we read an Excel file of from resource file in WPF?
Please if any one have some code please put an example
I do not want to use the Web Browser control... Only read a specific line of a specific column and display the result...

推荐答案

您的问题不是真的很清楚.

是否要读取Excel文件,读取资源文件或读取Excel文件(其名称存储在资源文件中)?

无论如何,您尝试使用WPF的事实并没有真正改变.无论如何,文件的读取很可能是通过背后的代码完成的.
Your question is not really clear.

Do you want to read an Excel file, or read a resource file, or read an Excel file, the name of which is stored in a resource file?

In any event, the fact that you are trying to use WPF does not really make a difference. The reading of the file is most likely to be done in the code behind anyway.


这篇关于如何从WPF中嵌入的资源文件Excel文件读取?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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