Friday 2 August 2013

Operator '!=' cannot be applied to operands of type 'string' and 'System.DBNull'

simply use Convert.IsDBNull(field) ? 0 : field; simples :D

No comments: