DateEdit (dev Express C# Windows アプリケーション コントロール) の editvalue が null の場合、dateTime フィールドの null 値を保存します。
dateEdit コントロールに編集値がある場合、選択した日付が保存されます。null の場合はデフォルトの日付が保存されますが、dateEdit 値が null の場合は Null 値を保存します。
サンプル コード: エンティティ フレームワークを使用しています。
Orders ord= new Orders();
ord.OrderDate= dateEdit1.DateTime;**//here i want to save null value if the dateEdit control value is null**
Objcontext.Orders.AddObject(ord);
Objcontext.SaveChanges();