ByteScout Data Extraction Suite - C# - Export to list with spreadsheet sdk - ByteScout

ByteScout Data Extraction Suite – C# – Export to list with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – C# – Export to list with spreadsheet sdk

How to export to list with spreadsheet sdk in C# with ByteScout Data Extraction Suite

Learning is essential in computer world and the tutorial below will demonstrate how to export to list with spreadsheet sdk in C#

This sample source code below will display you how to export to list with spreadsheet sdk in C#. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can be applied to export to list with spreadsheet sdk using C#.

The SDK samples given below describe how to quickly make your application do export to list with spreadsheet sdk in C# with the help of ByteScout Data Extraction Suite. IF you want to implement the functionality, just copy and paste this code for C# below into your code editor with your app, compile and run your application. Enjoy writing a code with ready-to-use sample codes in C#.

The trial version of ByteScout Data Extraction Suite can be downloaded for free from our website. It also includes source code samples for C# and other programming languages.

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; namespace Bytescout.Spreadsheet.Demo.Csharp.ExportToList { class Program { static void Main(string[] args) { const string inputFile = @"ListOfPlanetsSpreadsheet.xls"; // Open and load spreadsheet Spreadsheet spreadsheet = new Spreadsheet(); spreadsheet.LoadFromFile(inputFile); // Get the data from the spreadsheet IList planets = new string[10, 10]; spreadsheet.ExportToList(planets); // Close spreadsheet spreadsheet.Close(); // Display array string[,] planetsArray = planets as string[,]; for (int i = 0; i < planetsArray.GetLength(0); i++) { for (int j = 0; j < planetsArray.GetLength(1); j++) { Console.Write(planetsArray[i, j] + " "); } Console.WriteLine(); } // Pause Console.ReadLine(); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction 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 Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next