Solved

Executing a Stored Procedure from .NET

Posted on 2002-06-06
4
172 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA open file from excel cell 4 36
Using "ScreenUpdating" 6 55
Add a task in Outlook from access 11 35
Spell Check in VB6 13 98
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 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

14 Experts available now in Live!

Get 1:1 Help Now