且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从WPF中嵌入的资源文件Excel文件读取?

更新时间:2023-11-07 08:12:46

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

是否要读取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.