A Simple Datagrid Question?
Hello. It is perhaps a simple Datagrid problem, but it's held me for ages. I am getting data from a simple Access database which I exhibit in a Datagrid. At times values (numeric and text) are missing and the Datagrid shows "(null)". Can the grid be made to show "N/A" (say) for values that are not available?
Thanks in advance!
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Binu Subi68 pointsPosted Feb 15, 2006, 11:03 AM EST
Or
when you query the data from the database, use ISNULL() function to have your custom value if the column value is null,
ex: SELECT ISNULL(process_date, 'N/A' ) AS ProcessDate FROM Process
Cheers!
AB16 pointsPosted Feb 15, 2006, 1:41 PM EST