ByteScout Barcode Suite - C# - Convert xls to csv with spreadsheet sdk - ByteScout

ByteScout Barcode Suite – C# – Convert xls to csv with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – C# – Convert xls to csv with spreadsheet sdk

How to convert xls to csv with spreadsheet sdk in C# using ByteScout Barcode Suite

If you want to learn more then this tutorial will show how to convert xls to csv with spreadsheet sdk in C#

The documentation is designed for a specific purpose to help you to apply the features on your side. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK) and you can use it to convert xls to csv with spreadsheet sdk with C#.

These C# code samples for C# guide developers to speed up coding of the application when using ByteScout Barcode Suite. This C# sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! If you want to use these C# sample examples in one or many applications then they can be used easily.

You can download free trial version of ByteScout Barcode Suite from our website to see and try many others source code samples for C#.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.cs
      
using System; using System.Collections.Generic; using System.Text; using Bytescout.Spreadsheet; using System.IO; using System.Diagnostics; namespace Converting_XLS_to_CSV { class Program { static void Main(string[] args) { Spreadsheet document = new Spreadsheet(); document.LoadFromFile("SimpleReport.xls"); // delete output file if exists already if (File.Exists("SimpleReport.csv")){ File.Delete("SimpleReport.csv"); } document.Workbook.Worksheets[0].SaveAsCSV("SimpleReport.csv"); document.Close(); // open output document in default viewer Process.Start("SimpleReport.csv"); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next