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

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

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

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

Learn to code in C# to export to jagged array with spreadsheet sdk with this step-by-step tutorial

Every ByteScout tool includes simple example C# source codes that you can get here or in the folder with installed ByteScout product. ByteScout Data Extraction Suite: the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can export to jagged array with spreadsheet sdk in C#.

Want to quickly learn? This fast application programming interfaces of ByteScout Data Extraction Suite for C# plus the guidelines and the code below will help you quickly learn how to export to jagged array with spreadsheet sdk. Follow the instructions from scratch to work and copy the C# code. Further improvement of the code will make it more robust.

You can download free trial version of ByteScout Data Extraction 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; namespace Bytescout.Spreadsheet.Demo.Csharp.ExportToJaggedArray { class Program { static void Main(string[] args) { const string inputFile = @"StockPricesSpreadsheet.xls"; // Open and load spreadsheet Spreadsheet spreadsheet = new Spreadsheet(); spreadsheet.LoadFromFile(inputFile); // Get the data from the spreadsheet string[][] stockPrices = spreadsheet.ExportToJaggedArray(); // Close spreadsheet spreadsheet.Close(); // Display data in jagged array for (int i = 0; i < stockPrices.GetLength(0); i++) { Console.Write(stockPrices[i][0] + " "); Console.Write(stockPrices[i][1] + " "); 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