Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display null values a blank in a grid
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00894551
Message ID:
00894787
Views:
14
This message has been marked as the solution to the initial question of the thread.
Chris,

I have a much better answer than my first reply. I was looking at properties of the DataGridTextBoxColumn and saw one called .NullText. The tooltip says that it "gets or sets the text that is displayed when the column is null". Sounds like just what you need ...

~~Bonnie

>Anyone know how to suppress the (null) from appearing in a winform grid?
>I used DataGridTextBoxColumn.format but it seems that null values never get passed in.
>
>Thanks,
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform