Through the front end, I want to insert a NULL value into a column whose DataType is Int.
I used like this:
POP.JobOrderID = Convert.ToInt32(DBNull.Value);
But I canβt insert a Null value, it throws an error such as "Object cannot be cast from DBNull to other types":
How to insert null values?
thevan
source share