B
Big Dave
There has got to be a good strategy for dealing with null values in C#,
but I can't find it anywhere.
I'm mainly concerned with allowing nulls in DateTime and Int data types.
The standard types aren't nullable, the sqltypes aren't serializable,
I've tried the nullable types on this web site
(http://nullabletypes.sourceforge.net/), I can't bind them to an asp.net
datagrid or format the dates, I've tried to find info on how to create
my own data types and that was unsuccessful, and I've tried to use a
default fake null value "1/1/0001" for dates, but I can't blank out that
value when I databind.
I don't know what else to do, does anybody have a good strategy for
dealing with this? Thank you very much for any assistance!!!!!
Big Dave
but I can't find it anywhere.
I'm mainly concerned with allowing nulls in DateTime and Int data types.
The standard types aren't nullable, the sqltypes aren't serializable,
I've tried the nullable types on this web site
(http://nullabletypes.sourceforge.net/), I can't bind them to an asp.net
datagrid or format the dates, I've tried to find info on how to create
my own data types and that was unsuccessful, and I've tried to use a
default fake null value "1/1/0001" for dates, but I can't blank out that
value when I databind.
I don't know what else to do, does anybody have a good strategy for
dealing with this? Thank you very much for any assistance!!!!!
Big Dave