Re: Autogenerate Stored Procedure parameters...
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Sep 2006 00:34:10 -0400
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]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Brett Wickard" <nospam@xxxxxxxxxx> wrote in message
news:Oqu1zLE2GHA.4976@xxxxxxxxxxxxxxxxxxxxxxx
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.
.
- References:
- Autogenerate Stored Procedure parameters...
- From: Brett Wickard
- Autogenerate Stored Procedure parameters...
- Prev by Date: Re: CSharp Solution Deployment in VS2005
- Next by Date: Re: How to store a bit field from SQL Server
- Previous by thread: Re: Autogenerate Stored Procedure parameters...
- Next by thread: Drag & drop from IE address bar
- Index(es):
Relevant Pages
|