How can I execute a stored procedure using sqldatasource and get the return value in vb.net.
Thanks,
Terri
How can I execute a stored procedure using sqldatasource and get the return value in vb.net. Thanks, Terri |
|||
|
The method you are looking for is
The stored procedure is executed when you call |
|||
|
You need to use a
|
|||||
|
If you already have the SP returning a value then you have to grab the value in the corresponding event for the data source. AKA - Inserted, Selected, etc... Here's a couple links illustrating the point. |
|||
|
GetProfile is the stored proc name and Host is parameter name, which is retreived from a texbox called InputTextBox |
|||
|