Datagrid (null) help

LaTTicE

Member
Joined
Jun 14, 2004
Messages
11
Programming Experience
1-3
I was wondering if anyone knew of a simple way to replace the (null) fields in a datagrid with just a blank field. Thanks in advance
 

tlkerns

Member
Joined
Jun 3, 2004
Messages
19
Programming Experience
3-5
You'll have to add a DataGridTableStyle to the grid, and then add DataGridColumnStyles to the table style for each column that you want displayed. Under the column styles, you'll find a property called NullText. Clear it out or put in there anything you want. All of this can be easily accomplished in the designer.

Tony
 
Top Bottom