The tutorial is based on the Advanced project that is included with Adaptive Server ADO.NET Data Provider.
The complete application can be found in your Adaptive Server ADO.NET Data Provider installation directory:
<install dir>\Samples\CSharp\Advanced\Advanced.csproj
<install dir>\Samples\VB.NET\Advanced\Advanced.vbproj
Connecting to a database
Using the trace event feature to trace ADO.NET calls made to Adaptive Server ADO.NET Data Provider
You can use the trace event feature to log all the ADO.NET calls you make to troubleshooting and gathering more information for Sybase Technical Support.
Using named parameters (“@param”)
Using parameter markers (“?”), for example: {? = call sp_hello(?, ?, ?)}
Using the name of the stored procedure as CommandText and setting AseCommand.CommandType to CommandType.StoredProcedure.
Using call syntax, which is compatible with ODBC and JDBC programs.