Tag: #.net
13 articles
-
Japanese Era (Wareki) Date Cells in C# — Display 令和8年6月6日 While the Data Stays a DateTime
Invoices, contracts, birthdates — apps for the Japanese market must show dates in the era calendar (Reiwa, Heisei, Showa). Convert to strings and you break sorting and formulas. With ReoGrid, one format pattern shows wareki while every cell keeps a real DateTime.
-
Build a Receipt Generator in About 30 Lines of C# — Excel Template + ReoGrid
Don't lay out a receipt in code. Design it once in Excel, then let ReoGrid load the template, fill the blanks, save a copy, and print. A complete WinForms app in about 30 lines of C#.
-
Printing a Spreadsheet in C# — Print, Preview, and PDF in WinForms and WPF
How to print a worksheet from a .NET desktop app — print preview, the system print dialog, printing straight to PDF, plus paper size, margins, orientation, scaling, and page breaks. Working C# code for WinForms and WPF.
-
Adding Custom Cells to a WinForms or WPF Spreadsheet — Progress Bars, Sliders, and Dropdowns with CellBody
How to use ReoGrid's CellBody API to build cells with custom rendering and interaction in WinForms and WPF apps. Practical C# examples including a progress bar, an interactive slider, and a status badge cell.
-
Reading, Writing, and Displaying Excel Files in VB.NET
A practical guide to working with .xlsx files in VB.NET — reading data, generating reports, and embedding a live spreadsheet viewer inside a WinForms or WPF desktop app. No Office required.
-
Displaying Large Datasets Efficiently in WPF — When DataGrid Stops Scaling
WPF DataGrid is virtualized out of the box, but virtualization isn't the same as "fast." This article walks through where DataGrid stalls on 100k+ rows, how far tuning gets you, and the lazy-data-source pattern that handles a million rows without freezing the UI.
-
Migrating from ReoGrid V3 to V4 — A Practical Guide
A short overview of what changes when upgrading an existing ReoGrid V3 application to V4 — what breaks at compile time, what changes at runtime, and the new APIs worth adopting.
-
Display and Edit an Excel File in a WinForms or WPF App with C#
How to embed a working Excel viewer inside a .NET desktop app — load .xlsx, let users edit cells and formulas, save back to disk. Minimal WinForms and WPF examples in C#.
-
Export a DataTable to Excel (.xlsx) in C# Without Office Interop
How to write a DataTable out as a real .xlsx file from C# — headers, formats, multiple sheets, and the ASP.NET Core download pattern. Side-by-side examples with ClosedXML, EPPlus, and ReoGrid.
-
Announcing ReoGrid 4.4 — Performance Improvements for Large-Scale Data
ReoGrid 4.4 maintains full API compatibility while delivering ~11,700× faster bulk data loading with conditional formatting, ~10× faster sorting of 10,000 rows, and ~3× faster bulk loading via SetRangeData.
-
Excel-Style Conditional Formatting in .NET Applications
How to add conditional formatting — color highlights, data bars, icon sets — to a .NET WinForms or WPF spreadsheet. Covers the rule model, performance pitfalls when applied to large ranges, and patterns that round-trip cleanly to Excel.
-
Choosing the Right Editable Grid for WinForms and WPF Apps
A pragmatic guide to picking a data grid for desktop .NET apps. Compares DataGridView, WPF DataGrid, third-party grids, and full spreadsheet components — and explains which problems each one is actually built to solve.
-
Reading and Writing Excel Files in C# Without Office Interop
A practical guide to handling .xlsx files from C# without installing Microsoft Office. Compares the main approaches — OpenXML SDK, ClosedXML, EPPlus, NPOI, and ReoGrid — and shows working code for the common cases.