It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free. --Steve McConnell

Posts in tips and tutorials


Set Initial Focus on an ASP.NET Page

Here's a C# snippet to set the initial focus when a page loads. It takes into account some of the quirks with different types of controls and HTML elements. Continue...

Developer Tips and Tutorials C# Javascript Web

C# StyleHelper Class

While CSS is the preferred way to manage webpage styles these days, sometimes it's helpful to manage those styles programmatically. Continue...

Developer Tips and Tutorials C# CSS

C# RandomProvider Class

I provide a class, RandomProvider, which provides random numbers for several of the .NET data types and based on statistical distributions. Continue...

Developer Tips and Tutorials .NET C#

C# StopWatch Class

A high precision stop watch class for timing in your C# or .NET programs Continue...

Developer Tips and Tutorials .NET C#

Custom HyperLink Column for DataGrid

Detailed example with code showing how to add a custom link column to a datagrid. Continue...

Developer Tips and Tutorials .NET Controls C# SQL Server

Version: 6.0.20200920.1535