Kennyqui-0889 avatar image
0 Votes"
Kennyqui-0889 asked

Give an error when you didn't select a date in datetimepicker

I have some text box and 1 datetimepicker. The problem is every time I input a data in textbox and I forgot to select the date it will save automatically in data grid view, even i didn't select a date. So I want if I forgot to select the date it will give me an error message or errorprovider in date time picker. So what is the code for this? Sorry about this i cant fine the correct code so i ask here.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers