ByteScout Spreadsheet SDK - C# - Read XLSX (Office 2007) Files - ByteScout

ByteScout Spreadsheet SDK – C# – Read XLSX (Office 2007) Files

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – C# – Read XLSX (Office 2007) Files

How to read XLSX (office 2007) files in C# using ByteScout Spreadsheet SDK

Tutorial on how to read XLSX (office 2007) files in C#

ByteScout tutorials are designed to explain the code for both C# beginners and advanced programmers. Want to read XLSX (office 2007) files in your C# app? ByteScout Spreadsheet SDK is designed for it. 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.

C# code samples for C# developers help to speed up coding of your application when using ByteScout Spreadsheet SDK. In order to implement the functionality, you should copy and paste this code for C# below into your code editor with your app, compile and run your application. Code testing will allow the function to be tested and work properly with your data.

ByteScout Spreadsheet SDK free trial version is available on our website. C# and other programming languages are supported.

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; namespace HelloWorld { class Program { static void Main(string[] args) { // Create new Spreadsheet Spreadsheet document = new Spreadsheet(); document.LoadFromFile("Hello_world.xlsx"); // Get worksheet Worksheet worksheet = document.Workbook.Worksheets.ByName("Sheet1"); // Read cell value Console.WriteLine("Cell (0,0) value: {0}", worksheet.Cell(0, 0).ValueAsString); // Write message Console.Write("Press any key to continue..."); // Wait user input Console.ReadKey(); } } }

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