Quickly learn how to export to jagged array with spreadsheet sdk in VB.NET with this sample source code. ByteScout Barcode Suite: the set that includes three different SDK products to generate barcodes, read barcodes and read and write spreadsheets: Barcode SDK, Barcode Reader SDK and Spreadsheet SDK. It can export to jagged array with spreadsheet sdk in VB.NET.
Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Barcode Suite for export to jagged array with spreadsheet sdk below and use it in your application. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Complete and detailed tutorials and documentation are available along with installed ByteScout Barcode Suite if you’d like to learn more about the topic and the details of the API.
Our website gives trial version of ByteScout Barcode Suite for free. It also includes documentation and source code samples.
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