Solved

Executing a Stored Procedure from .NET

Posted on 2002-06-06
4
171 Views
Last Modified: 2010-05-02
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
Comment
Question by:sonus
  • 3
4 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 7059866
0
 

Author Comment

by:sonus
ID: 7060038
I would prefer to use the OleDb objects rather then a specialized object...

0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 7060049
replace all "oracle" with "oledb" and it will be working.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 200 total points
ID: 7060052
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now