Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
窗口_ComboBox1_ValueChanged
If e.Form.Controls("ComboBox1")
= "-" Then
e.Form.Controls("DateTimePicker1").text = ""
e.Form.Controls("DateTimePicker1").Enabled = False
Else
e.Form.Controls("DateTimePicker1").Enabled = True
End If
以上是现有窗口控件代码,如何完善这句:e.Form.Controls("DateTimePicker1").text = ""
这句没起作用。
提示:窗口控件ComboBox1与DateTimePicker1都绑定了数据列。