Execute Stored procedure

  • Thread starter Thread starter Belee
  • Start date Start date
B

Belee

I have an update stored procedure that returns an output
parameter. How do I execute it directly in the database
without a data adapter and dataset using C#? I am using
odbc with ms sql server 2000.
 
Why would you want to use ODBC instead of the SQL Server .NET Data Provider?
SqlCommand.ExecuteNonQuery is the way to do this via ADO.NET.
 
Hello,

Belee said:
I have an update stored procedure that returns an output
parameter. How do I execute it directly in the database
without a data adapter and dataset using C#? I am using
odbc with ms sql server 2000.

This is a *Windows Forms* ng. Turn to the ng mentioned below.

INFO: Newsgroup for .NET+database (ADO .NET) questions:

news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet

Regards,
Herfried K. Wagner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top