select ISNULL(sum(field),0) from tablename
Quote:Returns an indication whether the specified object is of type DBNull.
Returns an indication whether the specified object is of type DBNull.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)