Link to home
Start Free TrialLog in
Avatar of gjutras
gjutras

asked on

adp.net executescalar usage example request

I've written a dab type oracle helper class using adp.net 10.0.2.  I'm writing the test harness and documentation for it right now.  I'm looking for an example of a pl/sql stored procedure to return a single value.
for example in a text version I'm using "select count(*) from regions" and that works for
result =  cmd.ExecuteScalar.(OracleCommandType.Text,MyText);
How do I do this same thing in a pl/sql stored procedure? I want to use the function
result = cmd.ExecuteScalar.(OracleCommandType.Storedprocedure,MySProcName);
Avatar of gjutras
gjutras

ASKER

btw, because this is for a test case and library, I already have versions using out parameters.  I can't use them for this.
ASKER CERTIFIED SOLUTION
Avatar of JimBrandley
JimBrandley
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial