birthdate
how to search employee birthdate on datetime picker using month and date on date time picker.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Nov 2, 2012, 12:22 PM
private void btnSearch_Click(object sender, EventArgs e)
{
int day = 1; // say
int month = 1; // say
dateTimePicker1.Value = new DateTime(DateTime.Today.Year, month, day);
dateTimePicker1.Select();
SendKeys.Send("%{DOWN}");
}