Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using SQLConnection for a Sybase Server

Status
Not open for further replies.

canary

Programmer
Mar 14, 2001
25
HK
I've been trying to figure out how to use SQLConnection in .NET to connect to a Sybase server. Have been trying to read up on bits and pieces but nothing really explains how you can connect to them. Does anyone know what syntax I should use if I'm connecting to a sybase server i.e server=LIVE_FORMS, db=forms etc..

Thanks!!!
 
SQLConnection is only for MS-SQL Server. To connect to Sybase, you'll need to use the OleDbConnection object. Or possibly use an OdbcConnection if the version of Sybase you have doesn't have a OleDb driver. (If you're using .NET Framework v1.0, the ODBC provider is a separate download).

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top