Cannot perform '>=' operation on System.String and System.DateTime The line of code referenced is dtNews.DefaultView.RowFilter = "NewsDate >= #" + DateTime.Today.ToString() + "#";NewDate is a field from an XML file as follows:
<?xml version="1.0" encoding="utf-8" ?> <News> <NewsItem> <NewsDate>26/07/2005</NewsDate> <Message>***WebECP will be down tonight from 9pm-10pm for enhancements***</Message> </NewsItem> <NewsItem> <NewsDate>15/10/2005</NewsDate> <Message>Clinical customers can now be given access to a screen which lists of all devices in their area currently being inspected or repaired. Site WebECP contacts, please contact Evan for implementation details and issues.</Message> </NewsItem> </News>