Programmatically Resizing an Image
The .NET frameworks make it easy to resize an image programmatically. Here are some routines I used on a website to process avatars uploaded by users.
By Jonathan Wood •
Created on Tuesday, March 8, 2011
|
Dynamically Populating Controls using AJAX
This article demonstrates how to populate a control from JavaScript by calling a server-side method. The server-side method returns the data (from a database or anywhere else), which the JavaScript uses to populate the control.
By Jonathan Wood •
Created on Saturday, July 2, 2011
|
Easy Full-Text Search Queries
SQL Server's Full-Text Search offers a powerful and efficient way to search your data. However, the Full-Text Search syntax can be rather cryptic, especially for unsuspecting users. Here's a class that will convert simple search queries into valid Full-Text Search queries.
By Jonathan Wood •
Updated on Sunday, March 25, 2012
|
A Custom Settings Class for WinForms
Here's the class I use to keep track of my application settings. It requires a little more coding to use but provides more control than the Properties.Settings class.
By Jonathan Wood •
Created on Friday, December 31, 2010
|
Non-Rectangular Splash Screen for WinForms
A splash screen is a window that displays copyright information while your application initializes itself. This article presents code for a non-rectangular splash screen using WinForms.
By Jonathan Wood •
Created on Wednesday, March 23, 2011
|
A Self-Closing HtmlGenericControl
An easy way to add HTML controls to your webform at runtime is to use HtmlGenericControl. However, this class always renders both an opening and closing tag. This article presents a version that is self-closing.
By Jonathan Wood •
Updated on Friday, March 4, 2011
|
A JavaScript Formatter
JavaScript that has been compressed to use less bandwidth can be very difficult to read. Here's a C# class that will format JavaScript code, making it easy to read again.
By Jonathan Wood •
Updated on Tuesday, April 8, 2014
|
A SQL QueryBuilder Class
Use the QueryBuilder class to programmatically create SQL queries. This article also discusses the pros and cons of such an approach.
By Jonathan Wood •
Updated on Friday, January 28, 2011
|
Encrypting Source Code
If your application contains sensitive data, here's a way to make it a little harder for anyone to see that data.
By Jonathan Wood •
Created on Saturday, January 22, 2011
|
Validating Credit Card Numbers
Offers tips on validating credit card information.
By Jonathan Wood •
Updated on Sunday, December 12, 2010
|