Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How can I execute a stored procedure in .net?

Reply
Thread Tools

How can I execute a stored procedure in .net?

 
 
FireListen
Guest
Posts: n/a
 
      06-27-2003
Hello all,
Is there anyone who can tell me how to execute a stored procedure in .net.
More detailed, I want to pass some parameters to the procedure and the
procedure must return some value in the parameters and return a value
indicating whether the procedure is successful. The problem is how I can get
the new value in the parameters of the procedure and how I can get the value
returned by the procedure.


 
Reply With Quote
 
 
 
 
James J. Foster
Guest
Posts: n/a
 
      06-27-2003
A starting point:

http://www.dotnetcoders.com/web/Arti...spx?article=14

After the execution of the stored procedure, you can get the values of out
params the same way you set the values, ie.
..Parameters["@VariableName"].Value

--
James J. Foster, DotNetCoders
http://www.dotnetcoders.com



"FireListen" <> wrote in message
news:...
> Hello all,
> Is there anyone who can tell me how to execute a stored procedure in .net.
> More detailed, I want to pass some parameters to the procedure and the
> procedure must return some value in the parameters and return a value
> indicating whether the procedure is successful. The problem is how I can

get
> the new value in the parameters of the procedure and how I can get the

value
> returned by the procedure.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'Procedure or function <stored procedure name> has too many arguments specified',,,ARGH! Mike P ASP .Net 0 06-19-2006 01:19 PM
Build and execute stored procedure 'on the fly' iksrazal@terra.com.br Java 1 10-17-2005 09:17 PM
stored procedure takes too much time to execute nicholas ASP .Net 7 08-03-2005 07:20 PM
Stored Procedure vs direct execute SQL =?Utf-8?B?SklNLkgu?= ASP .Net 7 05-27-2005 10:12 PM
Help with Code to Execute a Stored Procedure Jeff Thur ASP .Net 2 02-07-2005 08:58 PM



Advertisments