I\'m using a SQL Server 2008 stored procedure to create a new record with this syntax:
cmd.Parameters.Add(\"@photo\", DBNull.Value) cmd.ExecuteNonQuery()
Dim photo_NULL As New SqlTypes.SqlBytes .Pararameters.AddWithValue("@photo", IIf(IsNothing(Photo), photo_NULL, Photo)) .CommandType = CommandType.StoredProcedure F_return = (.ExecuteNonQuery > 0)