Brett,
Have you worked with the Server Explorer? You can establish a
connection to your database, and then drag the stored procedure from the
explorer (under the Data Connections) to a DataSet designer and it should
create wrappers for making calls to the stored procedure.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Brett Wickard" <no****@nospam.comwrote in message
news:Oq**************@TK2MSFTNGP02.phx.gbl...
Anyone know of a good way to autogenerate stored procedure parameters to
put into c# code? I don't need to do it on the fly, just while coding.
I've got some SPs with a lot of parameters, so it would save some time to
be able to make the code for the SqlParameter object automatically.