下面两个中,肯定有一个名称错了:
Dim dtp1 As WinForm.DateTimePicker = e.Form.Controls("起始日期")Dim dtp2 As WinForm.DateTimePicker = e.Form.Controls("结束日期")