TheWizardofInt Posted June 16, 2006 Posted June 16, 2006 this is kicking my butt I am trying to connect to sybase: Server = SybaseServer Path to database = \\SybaseServer\db\mydb.db UserName = User Password = pass Version 8.01 of Adaptive Server Anywhere I want to make a connection through ODBC. I have created a User DSN: SYBASE ASE ODBC Driver, which references Adaptive Server Anywhere 8.0 Can anyone help? Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
Arch4ngel Posted June 16, 2006 Posted June 16, 2006 You might want to take a look at that link: http://www.connectionstrings.com/ But here is the syntax: Standard Sybase System 12 (or 12.5) Enterprise Open Client: "Driver={SYBASE ASE ODBC Driver};Srvr=Aron1;Uid=username;Pwd=password" Of course... you use the ODBC objects from System.Data.Odbc and you should be fine doing a lot of nice stuff :) Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Puiu Posted June 17, 2006 Posted June 17, 2006 Maybe this site might be of help also: http://www.connectionstrings.com/ Quote
TheWizardofInt Posted June 19, 2006 Author Posted June 19, 2006 That got it Thanks so much! Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.