Executing a Stored Procedure from .NET

Ok, this should be a fairly easy one for .NET gurus.  What is the best way to execute an Oracle stored procedure from VB.NET using ADO.NET?  Please show complete code.

In ADO/VB, I'd create a connection, then a command, add parameters to the command, and execute the stored procedure.  What's the best way in ADO.NET?

sonusAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
sonusAuthor Commented:
I would prefer to use the OleDb objects rather then a specialized object...

0
 
Éric MoreauSenior .Net ConsultantCommented:
replace all "oracle" with "oledb" and it will be working.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.