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
 
Back
Top