Forum Discussion

mohanlopa's avatar
mohanlopa
New Contributor
12 years ago

Connecting to sybase database

Hi,



I am facing problems while connecting to the sybase database. Below is the code I am using



objDB.ConnectionString="Driver={};NA=host,port;DB=;Uid=;Pwd=;;"


objDB.Open



Can you please let me know where can I get the driver name

1 Reply

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)
    Hi,



    Please refer to http://connectionstrings.com for the connection string syntax for Sybase databases. You probably need to use one of the OLE DB or ODBC providers. Also, make sure that the corresponding database provider is installed on your computer.