小弟我想把当前日期下的记录过滤出来,这个该如何写

我想把当前日期下的记录过滤出来,这个该怎么写?DateTimedtDateTime.NowstringdtStartdt.ToString( yyy

我想把当前日期下的记录过滤出来,这个该怎么写?
DateTime   dt   =   DateTime.Now;
string   dtStart   =   dt.ToString( "yyyy-MM-dd   00:00:00 ");
string   dtEnd   =   dt.ToString( "yyyy-MM-dd   23:59:59 ");
caseEntriesBindingSource.Filter   =   "where   PlantStartTime   >   ' "   +   dtStart   +   " '   and   PlantStartTime   <   ' "   +   dtEnd   +   " ' ";

这么写不对,该怎样?

[解决办法]
不太明白啊。。。
[解决办法]

where to_Char(PlantStartTime, 'yyyy-MM-dd ') = DateTime.Now.ToString( "yyyy-MM-dd ")

[解决办法]
1 caseEntriesBindingSource 是啥?

2 为什么有 between 不用?
[解决办法]
caseEntriesBindingSource.Filter = "where datediff(day,PlantStartTime ,getdate())=0 ";