D
Diego
I'm using a msSqlServer 2000 stored procedure to create a new record with
this syntax: :
cmd.Parameters.Add("@photo", DBNull.Value);
cmd.ExecuteNonQuery();
but the result is a:
Operand type clash: nvarchar is incompatible with image
Photo is not the only parameter but is the only image one, I am not passing
a nvarchar but a null value, am I missing something?
Diego.
this syntax: :
cmd.Parameters.Add("@photo", DBNull.Value);
cmd.ExecuteNonQuery();
but the result is a:
Operand type clash: nvarchar is incompatible with image
Photo is not the only parameter but is the only image one, I am not passing
a nvarchar but a null value, am I missing something?
Diego.