Friday, June 20, 2008

You can find this on a few sites, but most didn't have everything that I needed.  So for future reference, if you want to talk to a Sybase SQL Anywhere network server using ADO.NET, you need a connection string that looks something like this:

"ENG=[your server name];DBN=[your database name];LINKS=tcpip(Host=[server ip addr]; ServerPort=[port]);UID=[username];PWD=[password]"

Obviously, swap the stuff in square brackets for values that make sense in your environment.

No comments: