Write XLS documents from C# using Bytescout Spreadsheet SDK for .NET - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

Write XLS documents from C# using Bytescout Spreadsheet SDK for .NET

  • Home
  • /
  • Articles
  • /
  • Write XLS documents from C# using Bytescout Spreadsheet SDK for .NET

Writing XLS document from C# application using Bytescout Spreadsheet SDK for .NET

This example contains source code example for Visual C# demonstrating how to write a simple XLS document from C# using Bytescout Spreadsheet lib

Download example source code: bytescoutxls_c_sharp.zip (4 KB)

XLS document generated from C# example using Bytescout Spreadsheet SDK

// Create new Spreadsheet
Spreadsheet document = new Spreadsheet();

// Add new worksheet
Worksheet worksheet = document.Workbook.Worksheets.Add(“HelloWorld”);

// Set cell value
worksheet.Cell(0, 0).Value = “Hello, World!”;

// Save document
document.SaveAs(“HelloWorld.xls”);

Download example source code: bytescoutxls_c_sharp.zip (4 KB)

Tutorials:

prev
next