Home All Groups Group Topic Archive Search About

DataGrid datetime column format

Author
8 Jun 2006 8:14 PM
Charlie Brown
I would like to make my datagrid show a blank text field for datetime
values that are DBNULL.  Does any know how to format that way?

Author
10 Jun 2006 10:04 AM
Ken Tucker [MVP]
Hi,

       Set the datagrid columns nulltext=" "

http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridcolumnstyle.nulltext.aspx

Ken
-----------
Show quoteHide quote
"Charlie Brown" <cbr***@duclaw.com> wrote in message
news:1149797698.372005.191530@g10g2000cwb.googlegroups.com...
>I would like to make my datagrid show a blank text field for datetime
> values that are DBNULL.  Does any know how to format that way?
>