Adding a reference to the Data Provider assembly

Adding a reference tells Visual Studio .NET which assembly to include to find the code for Adaptive Server ADO.NET Data Provider.

StepsAdding a reference to Adaptive Server ADO.NET Data Provider in a Visual Studio .NET project

  1. Start Visual Studio .NET and open your project.

  2. In the Solution Explorer window, right-click the References folder and choose Add Reference from the pop-up menu.

    The Add Reference dialog box appears.

  3. On the .NET tab, scroll through the list of components until you locate the Sybase.Data.AseClient component. Select this component and click Select.

  4. Click OK.

    If you do not find the Adaptive Server ADO.NET Data Provider assembly listed in the components, browse to locate Sybase.Data.AseClient.dll in the <install dir>\dlldirectory. Select the DLL and click Open. Then, click OK.

    Note The default location is C:\Sybase\DataAccess\ADONET\dll for Adaptive Server ADO.NET Data Provider.

    The assembly is added to the References folder in the Solution Explorer window of your project.