Page 1 of 1

OracleCommand and Stored procedure parameter source column

Posted: Fri 03 Dec 2004 13:14
by Gute
Hi,
Is there a way to get source column set when parameterlist are generated?
If there is no column name there for binding, no value are passed to procedure.

Re: OracleCommand and Stored procedure parameter source column

Posted: Fri 03 Dec 2004 15:03
by Oleg
Call OracleCommandBuilder.DeriveParameters(OracleCommand) to create a collection of parameters in your OracleCommand. Then you can process this collection, for example set SourceColumn.