8
Answers

How to initialize DateTimePicker to null

Dealy

Dealy

15y
26.8k
1
Hello,

how can i initialize a DateTimePicker to null when i have data binding as well?
I found the following example, i added the .cs file to my project but i don't know what to do from that point forward.
http://www.codeproject.com/KB/selection/Nullable_DateTimePicker.aspx


Any suggestions? (even with this example or another one)

Thank you in advance.
Answers (8)
0
Roberto Mason

Roberto Mason

NA 5 11.7k 17y
I feel foolish, Spent all day searching for the answer. 5 minutes after this post, I resume, and found the answer. Here is the simple code, one line bindingNavigatorMoveLastItem.PerformClick()
Next Recommended Forum