在C#中写Excel文件并插入图片(附源码)

上传者: bifengxia | 上传时间: 2021-08-16 23:00:09 | 文件大小: 1.14MB | 文件类型: RAR
文件名:MyExcel.cs 功能说明:包含对工作表、单元格的常用操作,重点包含插入图片的功能 属性:普通类 其他:需要在工程中添加COM组件的引用:Microsoft Excel 12.0 Object Library (注:12.0是Excel2007的版本号,如果是2003版本,则为11.0) 创建者标识:笔锋侠 2010年02月04日 QQ:86994549

文件下载

资源详情

[{"title":"( 36 个子文件 1.14MB ) 在C#中写Excel文件并插入图片(附源码)","children":[{"title":"ExportToExcel","children":[{"title":"ExcelBase","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"Interop.Microsoft.Office.Interop.Excel.dll <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"Interop.Microsoft.Office.Core.dll <span style='color:#111;'> 400.00KB </span>","children":null,"spread":false},{"title":"BLL.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"BLL.dll <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"BLL.csproj <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Interop.Microsoft.Office.Interop.Excel.dll <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"BLL.csproj.ResolveComReference.cache <span style='color:#111;'> 731B </span>","children":null,"spread":false},{"title":"BLL.csproj.FileListAbsolute.txt <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"Interop.Microsoft.Office.Core.dll <span style='color:#111;'> 400.00KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"BLL.dll <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"TempPE","children":null,"spread":false},{"title":"BLL.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"BLL.dll <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"MyExcel.cs <span style='color:#111;'> 11.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"ExportToExcel","children":[{"title":"ExportToExcel.csproj <span style='color:#111;'> 5.24KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"ExportToExcel.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"Interop.Microsoft.Office.Interop.Excel.dll <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"ExportToExcel.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"Interop.Microsoft.Office.Core.dll <span style='color:#111;'> 400.00KB </span>","children":null,"spread":false},{"title":"BLL.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"BLL.dll <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Web.config <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ExportToExcel.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"Interop.Microsoft.Office.Interop.Excel.dll <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 11.64KB </span>","children":null,"spread":false},{"title":"ExportToExcel.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"Interop.Microsoft.Office.Core.dll <span style='color:#111;'> 400.00KB </span>","children":null,"spread":false},{"title":"ExportToExcel.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"ExportToExcel.csproj.ResolveComReference.cache <span style='color:#111;'> 731B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"App_Data","children":null,"spread":false},{"title":"Default.aspx <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"Default.aspx.cs <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"Default.aspx.designer.cs <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"ExportToExcel.csproj.user <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"ExportToExcel.suo <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"ExportToExcel.sln <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • shanxiao136 :
    不是我想要的,不过还是感谢楼主
    2017-08-10
  • weipl :
    是web应用程序的例子,实现了生成excel文件并插入图片的效果,有一定参考价值。代码需要小小调整一下,不然报错。
    2017-01-12
  • ly1985420 :
    不能用,跟网页里介绍胡一样。浪费积分!!
    2016-12-05
  • fun2121 :
    不是我想要的,网上都是这么插入的,浪费积分
    2016-04-26
  • lseva :
    还是插入不了图片,达不到我想要的效果
    2013-12-25

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明