Using udl, you have the option to generate a connection string that uses the oledb provider. The Sybase ODBC connection string will look like this:
"ODBC;Driver={SYBASE ASE ODBC Driver};Srvr=myServerName;Database=my_db;UID=myUsername;PWD=myPassword"
, DSN odbc ( ODBC), ,
"ODBC;DSN=my_DSN;UID=myUsername;PWD=myPassword;"
.net, Sybase.Data.AseClient(Adaptive Server Enterprise Managed Provider). :
Dim cn As New AseConnection("Data Source='servername';Port='5000';UID='myUsername';PWD='myPassword';Database='my_db';")