Key Word: C#, DBNull, int
when i try to use
there is an error:
we need do like:
when i try to use
(f==-1) ? DBNull : f
there is an error:
Type of conditional expression can't be determined because there is no implicit conversion between 'System.DBNull' and 'int'
we need do like:
(f==-1) ? (objec)DBNull : (object)f
Comments