Null in DataGrid

G

Guest

i'm having a dataGrid & some values in it with value null
how i to be able to not display [Null] & make it empty in the dataview in
the dataGrid
regarding that the user may edit this data , how could i enable the user to
do so ?
 
C

cody

In the DatagridColumnStyles there is a property NullText (or similar) where
you can pass the text which should be displayed if the cell has a content of
dbnull.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top