Stan
|
Posted: 09/22/2006, 5:40 AM |
|
Where are you using SP call? If this is used as datasource of form, you will be able to select "Datasource parameter" source type for control and then select the name of desired parameter.
In custom code you should add it to collection firstly:
command.AddParameter("@out_param",null,ParameterType._Text,ParameterDirection.Output,0,0,10)
then execute your code and you should be able to get the value of parameter with:
CType(command.Parameters("@out_param"),IDataParameter).Value
|