if(pb_new.image.toString() == "") { param[0] = new oledbparameter("@Image",oledbtype.varbinary); param.value = "" or string.empty() } else { param[0] = new oledbparameter("@Image",oledbtype.varbinary); param[0].value = image; }
param[0].Value = System.DBNull.Value
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)