Back Button Support for ASP.NET AJAX

Awhile back I had a request to enable the inclusion of back button support into an AJAX web application that relied very heavily on the use of an update panel, including drill down levels, etc. My quest to solve this...

Read More

VIDEO: Basics of Data Driven Unit Testing

Discusses the absolute base knowledge of creating Unit Tests in Microsoft Visual Studio 2008, using the built in test framework. Specifically towards the end, examples include creating a data driven unit test from a database table to supply the parameters...

Read More

Exporting Dundas Charts to Aspose.Cells

Dundas charts are simply awesome. What I found problematic at first was having to save these charts to temporary files in order to export the image into another utility (Excel doc, PPT, doc, etc). I did a bit of digging...

Read More

DataTable.Load(SqlDataReader)

There are plenty alternatives and methods for filling a DataSet / Datatable. This one in particular is simple, easy and to the point. In often cases I usually hydrate custom objects for performance reasons, however for those times you need...

Read More

SqlDataReader with Multiple Result Sets

There are plenty of times when just a single query result of data returned just doesn't quite cut it. You end up creating a second stored procedure to return some additional information that could be summary info, corresponding column names...

Read More

ASP.NET EventLog Access

Writing to the Event Log in ASP.NET is a piece of cake. The following is a static class that I have used time and time again to simply encapsulate the event logging writing code: public class EventLogging { public static void...

Read More

OrderBy Object Sorting

I was determined to find a way to sort an array or list of objects easily. Of course most people are familiar with the standard ".sort" method that you pass a comparison object that inherits from IComparable as follows: public...

Read More