Setting the Connection String Programmatically on a Crystal Reports ReportDocument

logos for Visual Studio and Crystal Reports

Programmatically setting the connection string for a Crystal Reports ReportDocument will allow you to have the report automatically use the active connection string for the rest of the application (as in previous posts). In this case, the report is created using a method that is triggered by clicking a button on a form. The log … Read more

Free Spell Checker for TextBoxes

spell check

One of the hardest things for me to find coherent information on has been how to set up spell checking for multi-line TextBoxes on ASP.NET forms.  In my search, I came across Hunspell, an open source spell checker that is widely used in applications such as OpenOffice. To set up Hunspell for use in your … Read more

Programmatically Creating an ASP.NET GridView Control

ASP.NET GridView Control

The biggest project I’ve worked on in the past year involved building almost all of the ASP.NET controls for a page programmatically in the code-behind and putting them into a Placeholder, rather than declaring them in the markup file. Many ASP.NET controls are relatively easy to build this way.  Buttons, TextBoxes, Labels, DropDownLists, even SqlDataSources … Read more