What's wrong with my ODBC connection string?

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");
 
W

Willy Denoyette [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top