hi there,

i am building a database class that uses oledbconnection to perform tons of common task in my software, i want to make this class as general as possible.

i dont want to declare in it two types of conncetions

(ODBC & OLEDB) and on every operation i should check who will work, i intend to make a single oledb connection that i should use with dsn , by knowing it's name and path.

of course all the databases i intend to connect to is Access 2k , so there will never be a problem with ODBC, as i will always know what is the type of the database behind it.


THX for you attention

BST RGDS