ByteScout Spreadsheet SDK - VB.NET - Export To Jagged Array - ByteScout

ByteScout Spreadsheet SDK – VB.NET – Export To Jagged Array

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – VB.NET – Export To Jagged Array

How to export to jagged array in VB.NET and ByteScout Spreadsheet SDK

The tutorial below will demonstrate how to export to jagged array in VB.NET

These source code samples are listed and grouped by their programming language and functions they use. ByteScout Spreadsheet SDK is the SDK that can write and read, modify and calculate Excel and CSV spreadsheets. Most popular formulas are supported. You may import or export data to and from CSV, XML, JSON as well as to and from databases, arrays. It can export to jagged array in VB.NET.

This code snippet below for ByteScout Spreadsheet SDK works best when you need to quickly export to jagged array in your VB.NET application. This VB.NET 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! Further enhancement of the code will make it more vigorous.

ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples.

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

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

Module1.vb
      
Module Module1 Sub Main() Dim inputFile As String = "StockPricesSpreadsheet.xls" 'Open and load spreadsheet Dim spreadsheet = New Spreadsheet() spreadsheet.LoadFromFile(inputFile) 'Get the data from the spreadsheet Dim stockPrices()() As String = spreadsheet.ExportToJaggedArray() 'Close spreadsheet spreadsheet.Close() 'Display data in jagged array For i As Integer = 0 To stockPrices.GetLength(0) - 1 Console.Write(stockPrices(i)(0) + " ") Console.Write(stockPrices(i)(1) + " ") Console.WriteLine() Next 'Pause Console.ReadLine() End Sub End Module

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Spreadsheet SDK Home Page

Explore ByteScout Spreadsheet SDK Documentation

Explore Samples

Sign Up for ByteScout Spreadsheet SDK 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 Spreadsheet SDK Home Page

Explore ByteScout Spreadsheet SDK Documentation

Explore Samples

Sign Up for ByteScout Spreadsheet SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next