Best way to call a stored procedure
From: mike (decxor1_at_-NOSPAM-hotmail.com)
Date: 06/16/04
- Next message: iyuen: "Re: ArgumentException thrown when converting a memorystream to image"
- Previous message: Andreas Håkansson: "Image Processing Components"
- Next in thread: Andreas Håkansson: "Re: Best way to call a stored procedure"
- Reply: Andreas Håkansson: "Re: Best way to call a stored procedure"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 10:04:27 -0700
Hi
There are two ways to execute a stored procedure using ADO.NET
- call "exec sp_myproc val1,val2" statement over ADO SqlCommand myCommand = new SqlCommand(SQLQuery, mySqlConnection);
- use Command/Parameters objects to initialize and call the stored procedure.
Which is a efficient way and why
Appreciate your response
Thanks
Mike
--- Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
- Next message: iyuen: "Re: ArgumentException thrown when converting a memorystream to image"
- Previous message: Andreas Håkansson: "Image Processing Components"
- Next in thread: Andreas Håkansson: "Re: Best way to call a stored procedure"
- Reply: Andreas Håkansson: "Re: Best way to call a stored procedure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|