Search code examples
c#driversqlanywhere

How to connect to Sql Anywhere 9 from C#


I have a project in which I need to get data a Database that is on Sql Anywhere v9, searching in Google I cant find to much information because its an old version(and I/the client cant upgrade the version of the database), in the few documents that I could find mention a .Net Driver but the links are broken. Anyone know if this Driver is the only way Or if there is another way to connect?


Solution

  • Download and install any version of SQL Anywhere Developer Edition even if it's a newer version. They are free. This will contain all the .NET data providers and drivers. In my experience newer versions of the Sybase client can connect to older DB Servers.
    You then have to make sure you get the connection string right to connect with C#.