【问题标题】:How to load axspreadsheet in Visual Studio 2005 or C# Express 2008如何在 Visual Studio 2005 或 C# Express 2008 中加载 axspreadsheet
【发布时间】:2010-05-16 14:29:54
【问题描述】:

我安装了 Office 2007,并检查了 .NET 可编程性。 从 VS2005/VC#2008 Toolbox 我尝试添加一个新项目,axSpreadsheet 控件,不幸的是我无法从 .NET Framework / COM 参考中找到它。

任何想法如何解决这个问题?我的主要目的是将xls文件加载到winform。

【问题讨论】:

    标签: c# excel winforms winforms-interop


    【解决方案1】:

    您可以使用 AxSpreadsheet 控件将 Excel 工作簿添加到 Windows 窗体中。要使用此控件,您需要添加 AxInterop.OWC11.dll 和 Interop.Office.DLL 的引用。

    http://dotnetcodelearner.wordpress.com/2012/12/19/displaying-the-excel-workbook-in-windows-form-using-axspreadsheet/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-08-26
      • 2010-09-09
      • 1970-01-01
      • 2010-09-15
      • 1970-01-01
      相关资源
      最近更新 更多