What's wrong with my ODBC connection string?

  • Thread starter Thread starter Charles shao
  • Start date Start date
C

Charles shao

Hi dear friends:

I have a DB and I want to access it through ODBC.
I can create a DataGrid in disigner and it works well.
But I failed when trying to open connection manually.
Are there anything wrong with my connection string?(if something left?)

Thanks
Charles Shao
=================================================================
new OdbcConnection( "Driver={InterSystems
ODBC};Server=127.0.0.1;DbDatabase=MY_TEST;uid=_system;pwd=sys");
 
Charles shao said:
Hi dear friends:

I have a DB and I want to access it through ODBC.
I can create a DataGrid in disigner and it works well.
But I failed when trying to open connection manually.
Are there anything wrong with my connection string?(if something left?)

Thanks
Charles Shao
=================================================================
new OdbcConnection( "Driver={InterSystems
ODBC};Server=127.0.0.1;DbDatabase=MY_TEST;uid=_system;pwd=sys");

DbDatabase????

Willy.
 
Back
Top