• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

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?

0
sonus
Asked:
sonus
  • 3
1 Solution
 
É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
 
Éric MoreauSenior .Net ConsultantCommented:
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now