I am looking for sample code for manipulating databases. In my previous applications I did it everything manually, but I think it would be better to create 1 class, which I could implement in every application.

It should do following operations:

Display List with available databases for given application, select, open, rename or delete them, create new database. Thats all. It would be handy to have such a class and just implement it in every application.

So before I spend 3 days developing this class, I just would like to ask if there is already something like this. I didnt find it yet. I know many websites with samples, but its difficult to find there something. BTW is there some website where all the other samples from other websites are listed alphabetically?