ado.net-stored procedure - null value in parameter question

  • Thread starter Thread starter Oleg
  • Start date Start date
O

Oleg

I am trying to send one of the parameters of stored
procedure having a null value. The parameter is of type
blob. I declare it in code like 'new OleDbParameter
("p_sigPicture", OleDbType.LongVarBinary)'.
The result of execution is exception: 'Stored Procedure
is not found'.
I don't want to make another stored procedure for the
case when the is no parameter to pass.
What can I do to pass a null value?
 
Back
Top