17,377
社区成员
发帖
与我相关
我的任务
分享
<asp:TextBox runat="server" ID="txtStartTime" class="Wdate" OnClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})"></asp:TextBox>
if (txtStartTime.Text != "" && txtEndTime.Text != "")
{
sql = sql + " and b.X_KSRQ_1 between '" + Convert.ToDateTime(txtStartTime.Text) + "' and '" + Convert.ToDateTime(txtEndTime.Text) + "'";
}