Running Simple Sample Project without Visual Studio
Review the instructions to run simple sample project without Microsoft Visual
Studio.
From a DOS prompt, go to the appropriate sample directory under
<install dir>\Samples.
Add the directory with .NET Framework 2.0 binaries to your system path.
Verify that the dll directory under Adaptive Server ADO.NET Data Provider
installation directory is included in the system path and the LIB environment
variable.
The default installation directory is
C:\Sybase\DataAccess\ADONET\dll for Adaptive Server ADO.NET Data
Provider, 32-bit and C:\Sybase\DataAccess64\ADONET\dll for Adaptive
Server ADO.NET Data Provider, 64-bit.
Compile the sample program using the supplied build script called
build.bat.
To run the program, enter:
simple.exe
The AseSample dialog box appears.
In the AseSample dialog box, provide connection information for an Adaptive Server with the
sample pubs2 database and then click
Connect.
The application connects to the sample pubs2 database and puts the
last name of each author in the dialog box.
Click the X in the upper right corner of the window to
terminate the application and disconnect from the pubs2
database.