Alternate Way to Call a Stored Procedure

You can also call a stored procedure using call syntax. This syntax is compatible with ODBC and JDBC.

For example:

AseCommand cmd = new AseCommand("{ call sp_product_info(?) }", conn);
In this case, do not set the Command type to CommandType.StoredProcedure. This syntax is available when you do not use named parameters and have set the AseCommand.NamedParameters property to “false”.
Related concepts
Get Data Using the AseCommand Object
Related tasks
Inserting, Updating, and Deleting Rows using the AseCommand Object