The ExecuteNonQuery method is in my Dac (data access component) class and is defined public and static (shared in VB). RetVal = CInt(firstOutputParameter.Value) If firstOutputParameter IsNot Nothing Then ‘ Return the first output parameter value If firstOutputParameter Is Nothing AndAlso _ Public Shared Function ExecuteNonQuery( _īyVal ParamArray arrParam() As SqlParameter) As Integerĭim firstOutputParameter As SqlParameter = Nothingįor Each param As SqlParameter In arrParam RetVal = (int)firstOutputParameter.Value Return the first output parameter value Param.Direction=ParameterDirection.Output
0 Comments
Leave a Reply. |