There is no secret. First of all the database field must be set to allow null entries, and the when you insert the row into the database table, you either specifically create a null value parameter for your sql command like this
cmd.Parameters.AddWithValue("@yourDateField", null);
, or you just leave the field out in your sql query.