How to pass the Due to the need for byte array in the SQL image type. null value for the database field type of the image I am trying But am receiving an error:
if (photo) cmd.Parameters.AddWithValue ("EPhotograph", img); And CMD. Parameter. Edvat Value ("Epotograph", ""); If (signal) CMD Parameter. Advant Value ("signature", sign); And CMD.Pameters.Advith Value ("Aspiration", DBINUL.VIL); Please try entering a blank instead of
DBNull.Value Byte array like this
new byte [0];
Comments
Post a Comment