> I am using ADO.NET to connect to a database using a DSN
> (through the ODBC) in my application. I need to find whether
> the database I am connected to is either SQL or Oracle. Is
> there anyway we can do this?

        check the connection string: PROVIDER=..... should give you the 
provider used and thus the db used.

                FB

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to