Are you using ADO Command with Parameters ? if so, try something like this,
// other codes here command.AddWithValue("@paramName", (dateEdit.EditValue == null) ? DBNull.Value : dateEdit.EditValue);
dateEdit Control DevExpress component on the right?
or try
Orders ord = new Orders(); ord.OrderDate = (dateEdit1.DateTime == null ? DBNull.Value : dateEdit1.DateTime); //here i want to save null value if the dateEdit control value is null Objcontext.Orders.AddObject(ord); Objcontext.SaveChanges();

source share