Using the .NET Data Provider in a Visual Studio project

The SQL Anywhere .NET Data Provider can be used when developing .NET applications with Visual Studio. To use the SQL Anywhere .NET Data Provider, you must include two items in your Visual Studio project:

  • a reference to the SQL Anywhere .NET Data Provider

  • a line in your source code referencing the SQL Anywhere .NET Data Provider classes

These steps are explained below.

For information about installing and registering the SQL Anywhere .NET Data Provider, see Deploying the SQL Anywhere .NET Data Provider.

 Adding a reference to the Data Provider in your project
 Using the Data Provider classes in your source code