Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Programming » .NET application programming » SQL Anywhere ASP.NET providers


Connection string registration

There are two methods for registering the connection string:

  • You can register an ODBC data source using the ODBC Data Source Administrator, and reference it by name.

  • You can specify a full SQL Anywhere connection string. For example:


When you add the <connectionStrings> element to the web.config file, the connection string and its provider can be referenced by the application. Updates can be implemented in a single location.

 XML code sample for connection string registration