"select * from dbo.Table_tl where date='" &Text1.Text"' and time='" & Text2.Text & "'" Text1 输入日期 Text2 输入时间