Thanks. I could get it compiled without any errors. I was previousely using one of the codeproject wrapper class where I need to have the dll on the folder. But, opening the database and handling was easy.
Is there any further samples available on how to open a sample database and execute a query? It will be of great help if I can get a small bit of sample.

Thanks a lot for your help.
Regards
Eugene