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”.