Solved

Executing a Stored Procedure from .NET

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

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 70

Expert Comment

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

Accepted Solution

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

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

785 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