How Can we convert XLS into HTML?
If it have images then what i haveto do the same?
using Spire.Xls;
namespace _384ExcelImagesToHTML
{
class Program
{
static void Main(string[] args)
{
//load the workbook
Workbook workbook = new Workbook();
workbook.LoadFromFile(@"..\..\data.xls", ExcelVersion.Version97to2003);
//get the worksheet you want to convert to html
Worksheet sheet = workbook.Worksheets[0];
//convert the worksheet to html
sheet.SaveToHtml(@"..\..\result.html");
//launch the html
System.Diagnostics.Process.Start(@"..\..\result.html");
}
}
}