HighTechTalks DotNet Forums  

SQLConnection vs ODBCConnection

Dotnet Framework (ODBC.net) microsoft.public.dotnet.framework.odbcnet


Discuss SQLConnection vs ODBCConnection in the Dotnet Framework (ODBC.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Maileen
 
Posts: n/a

Default SQLConnection vs ODBCConnection - 11-20-2005 , 11:15 AM






Hi,

Is the SQLConnection component only for SQL Server (from MS) or can we
use it for MySQL and PostgreSQL too ?

Because when i use the OdbcConnection component, and try to debug my
application, i have a "database connection was disabled" message after a
long timeout...and i do not know what did generate this long time out.

thanks a lot,
Maileen

Reply With Quote
  #2  
Old   
Paul Clement
 
Posts: n/a

Default Re: SQLConnection vs ODBCConnection - 11-21-2005 , 01:43 PM






On Sun, 20 Nov 2005 17:15:16 +0100, Maileen <noemail (AT) nospam (DOT) com> wrote:

¤ Hi,
¤
¤ Is the SQLConnection component only for SQL Server (from MS) or can we
¤ use it for MySQL and PostgreSQL too ?
¤

I don't believe so, no.

¤ Because when i use the OdbcConnection component, and try to debug my
¤ application, i have a "database connection was disabled" message after a
¤ long timeout...and i do not know what did generate this long time out.

I don't know what could be causing this problem. Are you using the correct connection string? What
kind of database are you having trouble with?


Paul
~~~~
Microsoft MVP (Visual Basic)

Reply With Quote
  #3  
Old   
luxspes
 
Posts: n/a

Default Re: SQLConnection vs ODBCConnection - 11-22-2005 , 02:23 AM



Maileen wrote:
Quote:
Hi,

Is the SQLConnection component only for SQL Server (from MS) or can we
use it for MySQL and PostgreSQL too ?

Because when i use the OdbcConnection component, and try to debug my
application, i have a "database connection was disabled" message after a
long timeout...and i do not know what did generate this long time out.
It can happen if you set a breakpoint... and take too much time
analyzing something without querying the database...

Quote:
thanks a lot,
Maileen

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.