Quantcast
Channel: VBForums - WPF, WCF, WF
Viewing all articles
Browse latest Browse all 256

Filter ListView by date range

$
0
0
Hi All.

In my WPF Windows form project I would like to filter ListView by date range. I populated CustomerListView like:

Me.CustomerListTableAdapter.Fill(Me.DataSet1.CustomerList)
Me.cvCustomerList = CollectionViewSource.GetDefaultView(Me.DataSet1.CustomerList)
Me.CustomertListView.DataContext = Me.cvCustomerList

In the form also I have two DatePicker controls: DateFrom and DateTo, where I set date to filter ListView. I will appreciate for sample.

Thanks.

Viewing all articles
Browse latest Browse all 256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>