Posts for February, 2005

Building a data access layer

One of the really significant changes I’ve made to the web project I’ve been working on for the past six months has been seperating all of the data access code into a data access layer that the other parts of the application can only access through interface classes that I’ve called datasources. I’ve set it […]
Published in Programming on Tuesday, February 15th, 2005

Debugging clientside scripts in VS,NET 2003

How interesting! Turns out that VS.NET 2003 actually supports debugging of clientside scripts! I’m going to miss the javascript alert function. :)
Published in ASP.NET on Thursday, February 10th, 2005

error-message-to-problem translation: Object must implement IConvertible

The error “System.InvalidCastException: Object must implement IConvertible” in the context of saving things to a database (in my case through a command object with pre-set typed parameters) means that you’re asking the command object to set a parameter with an incompatible type. In my case, I was trying to set a SqlDbType.Text field in my […]
Published in .NET on Thursday, February 3rd, 2005