You're bound to be unhappy if you optimize everything. --Donald Knuth

Popular Blog Posts

Convert String to Enum Instance

C# code sample showing how to convert a string to an instance of an enumeration. Continue...

Developer Tips and Tutorials C#

How do I get the application path in an ASP.NET application?

A simple snippet to show you how to get the virtual application path which is relative to the root of the website. Continue...

Developer Tips and Tutorials ASP.NET Web

How Do I Read a File As an Array of Bytes in C#

Learn how to use a stream to read the byte content of a file. You can also use the new ReadAllBytes method on the File class. Continue...

Developer Tips and Tutorials .NET C#

Convert Hex String to .NET Color

Learn an easy way and a hard way to convert a hex string to a .NET color using C#. Continue...

Developer Tips and Tutorials C# CSS HTML

Adding Columns to DataGrid Programmatically

Demonstration and code for programmatically adding a custom column to a DataGrid. Continue...

Developer Tips and Tutorials .NET Controls ASP.NET C# SQL Server