何将excel应用程序嵌入WPF应用程序中 [英] Ho to embed the excel application in WPF application

查看:84
本文介绍了何将excel应用程序嵌入WPF应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





任何人都可以让我知道我可以在c#应用程序中集成完整的Excel应用程序。



我尝试过的事情:



尝试使用网络浏览器,但我正在打开Excel工作表。

但我的要求是嵌入完整的excel应用程序。

Hi ,

Can any one let me know i can i integrate the full excel application in c# application.

What I have tried:

Tried with web-browser but i am opening the excel sheet.
But my requirement is to embed the complete excel application.

推荐答案

你没有解释为什么你需要在你的应用程序中嵌入Excel应用程序...... Neverthless ...



我建议阅读CP文章: .NET的计算引擎 [ ^ ]



另一方面,您可以使用OpenXml格式 [ ^ ]。

如需了解更多详情,请参阅:

使用Open XML SDK生成Excel 2010工作簿2.0 [ ^ ]

使用Open XML SDK 2.0在Excel 2010工作簿中检索单元格值 [ ^ ]



另一方面(假设可能:D) ),有EPPlus - 一个.net库,使用Open Office Xml格式(xlsx)读取和写入Excel 2007/2010文件。请参阅: EPPlus - 在服务器上创建高级Excel电子表格 - 主页 [ ^ ]
You didn't explain why you need Excel application embeded in your application... Neverthless...

I'd suggest to read that CP article: A Calculation Engine for .NET[^]

On the other hand, you can manipulate Excel data by using OpenXml format[^].
For further details, please see:
Generating Excel 2010 Workbooks by using the Open XML SDK 2.0[^]
Retrieving the Values of Cells in Excel 2010 Workbooks by Using the Open XML SDK 2.0[^]

On another hand (assuming that it's possible :D), there's EPPlus - a .net library that reads and writes Excel 2007/2010 files using the Open Office Xml format (xlsx). See: EPPlus-Create advanced Excel spreadsheets on the server - Home[^]


这篇关于何将excel应用程序嵌入WPF应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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