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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET Data Provider

SQL Anywhere .NET Data Provider features Next Page

Running the sample projects


There are four sample projects included with the SQL Anywhere .NET Data Provider. They are:

For tutorials explaining the sample projects, see Tutorial: Using the SQL Anywhere .NET Data Provider.

Note

If you installed SQL Anywhere in a location other than the default installation directory (C:\Program Files\SQL Anywhere 10), you may receive an error referencing the Data Provider DLL when you load the sample projects. If this happens, add a new reference to iAnywhere.Data.SQLAnywhere.dll. There are two versions of the Data Provider, one that supports the .NET Framework 1.x and one that supports the .NET Framework 2.0. The 1.x Data Provider for Windows is located in install-dir\Assembly\v1\iAnywhere.Data.SQLAnywhere.dll. The 2.0 Data Provider for Windows is located in install-dir\Assembly\v2\iAnywhere.Data.SQLAnywhere.dll. Windows CE versions of the provider are located under install-dir\ce\Assembly for each supported Windows CE hardware platform.

For instructions on adding a reference to the DLL, see Adding a reference to the Data Provider DLL in your project.