以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  集合到日期  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=149788)

--  作者:yangwenghd
--  发布时间:2020/5/12 12:59:00
--  集合到日期
老师 怎么点击按钮后 让NumericComboBox1 和NumericComboBox2组合到DateTimePicker4呀,
比如 NumericComboBox1是2020年,NumericComboBox2是5月(控件里面只有数字),然后点击按钮,DateTimePicker4 就是2020-05-01.感谢 感谢 

--  作者:huangfanzi
--  发布时间:2020/5/12 13:50:00
--  

Dim rq As Date = new Date(2020,5,1)
Output.Show(rq)

Dim rq As Date = new Date(NumericComboBox1.Value,NumericComboBox2.Value,1)
DateTimePicker4.Value = rq
[此贴子已经被作者于2020/5/12 13:55:09编辑过]