Monday, March 12, 2012

how to call sql store procedure in asp.net

I create a store procedure in sql, how do I call it?

thankssUse SqlCommand like this:

YourCommandName = New SQLCommand("YourStoredProcedureHere",YourConnection)
YourCommandName.CommandType = CommandType.StoredProcedure
You can also add parameters to the SqlCommand.|||got it.

thankss

No comments:

Post a Comment