Netferrets Online Blog, Internet Related Programming Solutions, Created in C# .net, VB .net, MS SQL Server Javascript, HTML and CSS.
Proving sample solutions to problems found when creating web application solutions.
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:
Post a Comment