简体   繁体   English

需要在.NET应用程序中嵌入Excel工作表

[英]Need to embed Excel worksheet in .NET application

I need to embed an Excel workbook/worksheet in a .NET WinForms application. 我需要在.NET WinForms应用程序中嵌入Excel工作簿/工作表。 So far, i have found only one way of doing it - by adding a Web Browser control to the application and navigating to an Excel file using this control. 到目前为止,我发现只有一种方法可以执行此操作-将Web浏览器控件添加到应用程序中,然后使用该控件导航到Excel文件。 This is a very cumbersome solution. 这是一个非常麻烦的解决方案。 Is there an easier way of doing it? 有更简单的方法吗? Thanks! 谢谢!

SpreadsheetGear for .NET comes with an Excel compatible Windows Forms spreadsheet control which you can simply drag to your form. SpreadsheetGear for .NET带有Excel兼容的Windows窗体电子表格控件,您可以将其简单地拖动到窗体中。 It includes a Workbook Designer which allows you to edit workbooks right in Visual Studio or load Excel workbooks from disk, and also includes a comprehensive API which is similar to Excel (except that it is .NET friendly). 它包括一个工作簿设计器,使您可以直接在Visual Studio中编辑工作簿或从磁盘加载Excel工作簿,还包括一个类似于Excel的综合API(但它对.NET友好)。

You can learn more and try the free evaluation for yourself if this might work for you. 如果这可能对您有用 ,您可以了解更多并尝试免费评估

Disclaimer: I own SpreadsheetGear LLC 免责声明:我拥有SpreadsheetGear LLC

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM