Archive by Author

Bool Format Provider

Bool Format Provider

Posted on08. Mar, 2010 by .

0

I did a quick bit of research a while ago into how .Net converts a Boolean value to a string (via System.Bool.ToString). It does not make use of the current culture format provider so as such there is no way to easily tap in and override this methods behaviour.

Continue Reading

Managing Exceptions & SQL Transactions

Managing Exceptions & SQL Transactions

Posted on03. Mar, 2010 by .

0

A very common approach to managing exceptions that occur while a database transaction is in progress is to simply wrap it in a try catch block and if an exception occurs call Rollback on the transaction.

Continue Reading

Writing a Watermark jQuery Plugin

Writing a Watermark jQuery Plugin

Posted on15. Feb, 2010 by .

1

This article shows how to create a watermark plugin which can be used on textboxes or text areas. The watermark effect allows the developer to specify some brief instructive text inside the textbox without having to interfere with the use of the textbox.

Continue Reading