PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Connection string for InterSystems Cache ODBC driver

Reply

Connection string for InterSystems Cache ODBC driver

 
Thread Tools Rate Thread
Old 21-06-2006, 05:34 PM   #1
=?Utf-8?B?Um9uYWxkbyBOYXNjaW1lbnRv?=
Guest
 
Posts: n/a
Default Connection string for InterSystems Cache ODBC driver


I want to form an ODBC connection string in C#.
I know how to plug all the connection data into the ODBC Data Source
Administrator, but want to do it programmatically.
I assume it is something like:

provider=InterSystems ODBC; host=127.0.0.1; port=1972; namespace=JDKKR;
login=foo; password=bar

but this does not work for me.

Any suggestions?
Thanks
  Reply With Quote
Old 05-07-2006, 09:45 AM   #2
Markus
Guest
 
Posts: n/a
Default Re: Connection string for InterSystems Cache ODBC driv ...

Try using "provider=MSDASQL.1;Extended Properties="DRIVER={InterSystems ODBC};SERVER=127.0.0.1; PORT=1972;DATABASE=JDKKR;UID=foo;PWD=bar" as connactionstring.

Regards
Markus
---
Posted via www.DotNetSlackers.com
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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