更好的做法是:
BoundField.NullDisplayText
isn t set. NULL-case is f或eseen in SQL query, i.e.SELECT ISNULL(amount, 0) FROM table
或
BoundField.NullDisplayText
is set, e.g. "0.00 %". NULL-case isn t f或eseen in SQL query, i.e.SELECT amount FROM table
你认为什么?