Oldhandandy <Ol*********@discussions.microsoft.com> wrote:
I have a SQL stored procedure that I need to run by pressing a button
on a .Net form. I've created a SQLConnection, the form and a button,
what code do I need to run the procedure.
Set the command text of a SqlCommand to the stored procedure call, use
parameters as normal, and set the command type to StoredProcedure.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too