Bytescout.XLS for .NET
|
Bytescout.XLS library for .NET
How to format cell to display formatted date time value in XLS spreadsheet generated/modified with using Bytescout.XLS library This source code sample demonstrates how to format date value in cell in spreadsheet using Bytescout.XLS for .NET applications Download example source code: bytescoutxls_date_formatting_for_cells.zip (8 KB) Output spreadsheet (XLS) screenshot:
using System; namespace HelloWorld // Get worksheet by name // Set captions for (int i = 1; i < 8; i++) // Set current cell // Set date. This is days since 01.01.1900 // Set date format // Save document // Close document // open generated XLS document in default program Download example source code: bytescoutxls_date_formatting_for_cells.zip (8 KB)
Documentation online: view (separate window) |
|
|
||