Thursday, 7 April 2011

Updated Articles

I've updated all the articles to point to my new website. A lot of these articles were written a long time ago now, but I think they may still be useful.

Monday, 19 May 2008

Easy way to store objects in a database using C# / .NET

I wanted a way to save objects easily and quickly to a SQL database in ASP.NET projects, so I wrote a class library that can serialize any object. You can read the article here.

Wednesday, 12 March 2008

Image Button Article

I've updated the article about image buttons. The old buttons did the rollover effect when you moved the mouse anywhere over the button, but the hyperlink only worked if the mouse was over the text. I've worked out how to make the hyperlink work over the whole button now, by specifying padding round the text.

By the way, I'm planning to turn this into an ASP.NET control, so if you're into ASP.NET watch this space!

Friday, 7 March 2008

Wednesday, 5 March 2008

Thursday, 28 February 2008

Date Parsing, Addition and Display in Javascript

Despite there being a lot of articles about date parsing on the internet, I couldn't find any simple examples of how to read a user entered date (e.g. from a text box), and then manipulate it (in my case subtract a day) and then re-display it to the user. So I wrote the following function (you can view this full page by following this link).

Monday, 25 February 2008

Image Buttons Using CSS

I recently wanted to come up some buttons with rollover effects using CSS, where I could use the same image, but different text for each button. The following article describes how I did it (you can view this full page by following this link).