tags:

views:

31

answers:

1

hi

i have table that contain date field.

how i can force null or empty value on this field ?

thank's in advance

A: 

If you are referring to C# code, you can make the type nullable:

DateTime? dt = null;

Then acces it by:

if(dt == null)
  dosomething;
else
  myDT = dt.Value;
Jess