Sanjay on March 13, 2009

How to check the value of Datetimepicker Checkbox..?

How to check the value of Datetimepicker Checkbox

 

Asked by: Sanjay
VN:F [1.9.17_1161]
Rating: 0.0/5 (0 votes cast)
20, Aug/12


Value of the DateTimePicker can be checked at Value change event of the DateTimePicker as follows:

private void dateTimePicker_ValueChanged(object sender, EventArgs e)
 {
 if (dateTimePicker.Checked == true)
 {
 btnDate.Enabled = true;

}
 else
 {
 btnDate.Enabled = false;

}
 }
VN:F [1.9.17_1161]
Rating: 0.0/5 (0 votes cast)

Choose Your Category
View All
SPONSORED LINKS
Top Users
ADVERTISEMENT