Solved

Executing a Stored Procedure from .NET

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

839 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