Home

Bytescout.XLS for .NET
Screenshots

Click to view sample
Click to view sample
Click to view sample
Click to view sample
Click to view sample
Click to view sample
Click to view sample Click to view sample

Bytescout.XLS library for .NET

Download Free Trial Buy Now More Information

How to convert Excel document into HTML page using Bytescout.XLS library

This source code sample converts existing Excel document report into HTML page using Bytescout.XLS library

Download example source code: bytescoutxls_export_xls_to_html.zip (5 KB)

Source Excel document:

Source Excel document

HTML document generated from source Excel document

using System;
using System.Collections.Generic;
using System.Text;
using Bytescout.XLS;
namespace ExportToHTML
{
class Program
{
static void Main(string[] args)
{
// Open XLSDocument
XLSDocument document = new XLSDocument("SimpleReport.xls");
// Get Worksheet
Worksheet worksheet = document.WorkBook.Worksheets[0];
// Export to HTML
worksheet.SaveAsHTML("SimpleReport.htm");
// Close XLSDocument
document.Close();
}
}
}

Download example source code: bytescoutxls_export_xls_to_html.zip (5 KB)

Download Free Trial Buy Now More Information

Documentation online: view (separate window)

First steps tutorials:

Advanced Examples:
Products  |  Download  |  Purchase  |  Support  |  Contacts  |  Testimonials |  

ByteScout, 2003-2008. All other company and product names may be trademarks of their respective companies. Privacy Statement