![]() |
BindingSource Filter Between Two Given Date
Hi All,
Im thinking if it is possible to filter records based on date1 and date2. All this time Im using a different approach to filter it. I just put the command like "Select * From Invoices Where InvoicesDate Between DateValue('" + SelectedDate1.ToShortDateString + "') And DateValue('" + SelectedDate2.ToShortDateString + "') ORDER BY SO_NO DESC" I've been using bindingsource.filter to filter it for a certain date but is it possible if i select all records and filter it between a period? What the syntax would be like to filter it between two given dates? Thanx |
All times are GMT -5. The time now is 01:21 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.