Erm.. the code there works for any database, all that needs to change is the data type (hence the note that I quoted above) and the ConnectionString (which I assume you already know).