Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display null values a blank in a grid
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00894551
Message ID:
00894787
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform