将excel转化成html页面
来源:互联网 发布:淘宝司法拍卖房子的税 编辑:程序博客网 时间:2024/09/21 09:06
/// <summary>
/// 将excel转化成html页面
/// </summary>
/// <param name="filePath">excel路径</param>
/// <param name="savePath">生成的html保存路径</param>
public static void ExcelToHtml(string filePath,string savePath)
{
//Specify the HTML Saving Options
HtmlSaveOptions save = new HtmlSaveOptions(SaveFormat.Html);
//Instantiate a workbook and open the template XLSX file
Workbook book = new Workbook(filePath);
//Save the HTML file
book.Save(savePath, save);
/// 将excel转化成html页面
/// </summary>
/// <param name="filePath">excel路径</param>
/// <param name="savePath">生成的html保存路径</param>
public static void ExcelToHtml(string filePath,string savePath)
{
//Specify the HTML Saving Options
HtmlSaveOptions save = new HtmlSaveOptions(SaveFormat.Html);
//Instantiate a workbook and open the template XLSX file
Workbook book = new Workbook(filePath);
//Save the HTML file
book.Save(savePath, save);
}
要引用 Aspose.Cells.dll
0 0
- 将excel转化成html页面
- 将excel表格转化为html文本
- 将world转化成html
- 读取一个EXCEL的文件,然后将其转化成HTML的表格
- C# 将Excel,ppt和word转化为html
- 使用java将 WORD,EXCEL转化为HTML
- 将html转化成UBB(windy2000)
- 将String转化成HTML格式
- 使用JTidy将html转化成xhtml
- 将asp页面转换成html页面
- 对excel转化的一些操作,比如将excel转化成pdf,用宏。。。。
- 将EXCEL文件转换成HTML文件
- C# 将Word,Excel转换成Html
- 服务器端直接将HTML下载成Excel
- 将word怎么转化html
- 将.md转化为.html
- 如何将excel 中的一列身份证号码转化成 出生日期
- 通过jxl和itext 将excel转化成pdf
- VC6.0 error LNK2001: unresolved external symbol _main解决办法
- SDK Failed to fetch URL http://dl.google.com/android/repository
- 即时通讯IM
- iOS 模拟器上状态栏不显示、或者关闭状态栏
- 【ElasticSearch系列】简单谈谈kibana-由安装marvel插件而来
- 将excel转化成html页面
- volatile 的一些理解
- Android系统中的Logcat
- ListView最全知识点总结1
- linux学习 命令ll后字段的解释
- 碎碎念2
- Ping++介绍(支付宝、微信、微信公众账号支付、银联、百度钱包支付和 Apple Pay)
- 适配IPv6遇到的坑,终极解决方案
- 简单介绍哈希表作用及程序举例