if (PickDate_Qg.SelectedDates.Count >0)//判断该日历控件是否为空! { strSql +=@" and DATE_JOB>='"+PickDate_Qg.SelectedDate+"'"; } if (PickDate.SelectedDates.Count >0)//判断该日历控件是否为空! { strSql +=@" and DATE_JOB<='"+PickDate.SelectedDate+"'";//后面日期要用引号! }
posted on
2007-08-14 19:11simhare
阅读(322)
评论(0)
编辑收藏举报