How do I filter for records on a DataTable which are on a certain date?
I've tried plain [datecol] = #11 March 2010#
and CONVERT([datecol],'System.DateTime') = #11 March 2010#
. With no luck.
MSDN: RowFilter Expression Syntax
Solution
[datecol] >= #11 March 2010 00:00# AND [datecol] <= #11 March 2010 23:59:59#