Filter ListView by date range-VBForums
Results 1 to 1 of 1

Thread: Filter ListView by date range

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    176

    Filter ListView by date range

    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.
    Last edited by eugz; Mar 14th, 2013 at 11:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.