Hi to all!
I have some nasty problem: I've written application that generates some report from ODBC MS Access database. Now, I've created table adapter and other stuff and I get data on report, but now I need to filter them. In app, I have two datetime pickers (MonthCalendar class), one from select "Date From" and other to select "Date To". Once one or both of these dates are selected, the event occurs and saves clicked dates into private member DateTime variable (m_dtDateFrom and m_dtDateTo). Then, inside TableAdapter, I've added query FillByDate with these two parameters and the query does not work! Why?
Sincerely,
Marko
Database filter question
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

CrishRank #1,487 · 1.1K reputationPosted May 6, 2010, 1:03 AM EDT
you need to parse(convert) the date in query like 'mm/dd/yyyy'.
Marko Frelih12 reputationPosted May 6, 2010, 1:20 AM EDT