Hi Vicky:
The whole battle is in getting the Value you are comparing against in the
correct format. You can use DateTime myDate =
(DateTime)dataVarName.ToShortDateString(); ///or you can use .Parse or any
other mechanism you want.
Anyway, assuming the example above you'd use
myDataView.Rowfilter = "DateFieldName = #" + myDate + "#";
--
W.G. Ryan, eMVP
http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
"vicky" <(E-Mail Removed)> wrote in message
news:f87f01c43e32$359d1370$(E-Mail Removed)...
> i am filtering a dataview using rofilter, the field i am
> filtering is datetime type but i only want to filter on
> date part of the field ignoring time part. How is it
> possible
>
> Thanks