.Net, ASP.NET, DataGrid, Programming, Reports, Technology, VB.NET, Web Development, WebForms

ASP.NET DataGrid: Conditionally Coloring Cell Background Color for a Column Based on the Cell Contents

DataGrid Example
DataGrid Example

If you are writing a report using a .NET DataGrid, it’s very possible that you’ll want to conditionally highlight key data in the report. Continue reading “ASP.NET DataGrid: Conditionally Coloring Cell Background Color for a Column Based on the Cell Contents”

Advertisement
.Net, ASP.NET, C#, GridView, Programming, VB.NET, Web Development, WebForms

GridView OnRowUpdated how to get the Edited Row

GridView Example
GridView Example

This article deals with the GridView WebForms .NET control; in particular with how to detect and record changes after the user has saved data in the GridView.

Sometimes using WebForms controls is not well documented and unintuitive, which is the case with the onRowUpdated event, where a lot of information available online is incorrect or misleading. I hope my findings in this article help you. If they do (or if they don’t), then please leave a comment.

By the way, if you find the information I’m giving is useful, then have a look at some of the other WebForms related articles I’ve written. Continue reading “GridView OnRowUpdated how to get the Edited Row”

.Net, ASP.NET, Excel, HTML, MS Office, Programming, Software, Technology, Tool, VB.NET, Web Development, WebForms

ClosedXML Nicely Formatted Header Row

Nice Header Row in Excel
Nice Header Row in Excel

In this article I’ll show a simple example of nicely formatting a header row in a generated Excel document (using the open source ClosedXML library).

If you would first like some background into setting up and calling functions using .Net and the ClosedXML library, have a look at a previous article I wrote, or visit my site (jwcooney.com) and browse the available categories. Continue reading “ClosedXML Nicely Formatted Header Row”