I can assign value to it just do not know how to assign a yesterday
private void Form1_Load(object sender, EventArgs e)
{
dateTimePicker1.Value = DateTime.Today;
}
I can assign value to it just do not know how to assign a yesterday
private void Form1_Load(object sender, EventArgs e)
{
dateTimePicker1.Value = DateTime.Today;
}
dateTimePicker1.Value = DateTime.Today.AddDays(-1);