A
Aragorn
I want to load into a SqlCommand objet an existing stored
procedure. I know that by using the Parameters collection
I can add parameters, but how can I retrieve the
parameters already defined from the SP? I would like by a
reflection-like mechanisms be able to get the parameters
declared into the SP.
Strangely, if you're using the Server Explorer and you
drag a stored procedure on your page, inside the
automatic generated code the parameters will be set
correctly. But since I want to use a dynamic mechanism to
load a stored and retrieve its parameters, I can't choose
in advance a stored procedure and drag it on my page.
Gandalf says hi.
Thank you for any help,
Aragorn
procedure. I know that by using the Parameters collection
I can add parameters, but how can I retrieve the
parameters already defined from the SP? I would like by a
reflection-like mechanisms be able to get the parameters
declared into the SP.
Strangely, if you're using the Server Explorer and you
drag a stored procedure on your page, inside the
automatic generated code the parameters will be set
correctly. But since I want to use a dynamic mechanism to
load a stored and retrieve its parameters, I can't choose
in advance a stored procedure and drag it on my page.
Gandalf says hi.
Thank you for any help,
Aragorn