Home

Bytescout.XLS for .NET

Click to view full size screenshot

Bytescout.XLS library for .NET

Download Free Trial Buy Now More Information

How to convert Excel document into XML format using Bytescout.XLS library

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

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

source excel document to convert into xml

XML generated by Bytescout.XLS library from source Excel document

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
using Bytescout.XLS;
namespace SaveAsXML
{
class Program
{
static void Main(string[] args)
{
XLSDocument document = new XLSDocument("SimpleReport.xls");
document.WorkBook.Worksheets[0].SaveAsXML("SimpleReport.xml");
document.Close();
}
}
}

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

Download Free Trial Buy Now More Information

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