if (pr_NumberTextBox.Text == "" || create_dateDateTimePicker.Text == "")
{
MessageBox.Show("Error");
}
if pr_NumberTextBox == null then Error
or
create_dateTimePicker == null then Error
but
The problem is with dateTimePicker it does not become empty . Because of that there is a default value . i just ask if can i do it empty??


Sign In
Create Account

Back to top









