标题:想把listview的显示内容输入excel文件
只看楼主
globenese
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2013-2-4
结帖率:0
 问题点数:0 回复次数:0 
想把listview的显示内容输入excel文件
按照网上的方法,
 1 引用了 Microsoft.Office.Interop.Excel;
 2 加入了using using Microsoft.Office.Interop.Excel;
 
但是按照网上的代码输入:
 Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.ApplicationClass();
 
总是提示出错:
 错误 1 无法嵌入互操作类型“Microsoft.Office.Interop.Excel.ApplicationClass”。请改用适用的接口。 E:\ccode\i802\i802\i802\Form1.cs 90 99 ShowService
搜索更多相关主题的帖子: 网上 接口 
2013-02-05 23:22



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-398375-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.285111 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved