如何将日期时间选择器值设为空 [英] how can I make the datetime picker value with empty
问题描述
我有一个日期时间选择器
this.dtSold.CustomFormat ="英寸;
this.dtSold.Location = new System.Drawing.Point(739,223);
this.dtSold.Name =" dtSold" ;;
this.dtSold.ShowCheckBox = true;
this.dtSold.Size = new System.Drawing.Size(200,22);
this.dtSold.TabIndex = 22;
当我取消日期时间选择器的showcheckbox时,如何使日期时间选择器为空值。
谢谢
Pol
polachan
嗨Pol,
感谢您在MSDN论坛上发帖。
您的线程是否已解决?
#Combo Box无效。当我从组合框中选择值时,它不会从组合框中选择
#如何在访问数据库中显示图片如何以另一种形式有条件地展示
如果有的话,如果您能与我们分享您的解决方案,或者将有用的回复标记为答案,那么将不胜感激。在这里关闭线程。
问候,
I have a datetime picker
this.dtSold.CustomFormat = " "; this.dtSold.Location = new System.Drawing.Point(739, 223); this.dtSold.Name = "dtSold"; this.dtSold.ShowCheckBox = true; this.dtSold.Size = new System.Drawing.Size(200, 22); this.dtSold.TabIndex = 22;
How can I make the datetime picker with empty value when I untick showcheckbox of the datetime picker.
With Thanks
Pol
polachan
Hi Pol,
Thanks for posting in MSDN Forum.
Have your threads below resolved?
#Combo Box is not working . When I select value from Combo box , It is not selected from Combo box
#How to show picture in an access database and how can be showed conditionally in another form
If they have, it would be appreciated if you could share us your solution, or mark the helpful reply as answer which is the way to close thread here.
Regards,
这篇关于如何将日期时间选择器值设为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!