Roland,
This needs to be done for each column on the grid. There is no grid setting for this.
>Hi Cathi,
>
>Any way to apply the change from one property for all fields in the grid?
>
>Thanks
>Roland
>
>=========================================================================
>
>
>>Hi Roland,
>>
>>1. Click on the DataGrid
>>2. In the properties window, select TableStyles, , click on the "..."
>>3. In the properties portion of the display window, select the GridColumnStyles, click on the "..."
>>4. For each of the columns, you will see in the properties portion of the display window, a property called NullText. Set that to be anything you want displayed if the value is NULL
>>
>>or
>>
>>You can set it via code for the DataGrid Column
>>
>>Me.OrderID.NullText = "(None)"
>>
>>
>>
>>
>>>Hi,
>>>
>>>How do you display nothing in place of the null in a grid?
>>>
>>>Thanks
>>>Roland
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi