Click here to Skip to main content
15,903,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to filter the results of a dynamic listview according to user input.
The content of the listview are file events (time, type of event, filename), so every time a file event is trigerred a new event is appended to the listview.
Is there a way to show filtered results and at the same time save all data and append new data?

Regards,

Pedro

Edit:
I'm trying to implement a program like in this article:
FileSystemWatcher - Pure Chaos (Part 1 of 2)[^]
Every time a file event is fired, a element is added to the listview.
I wanna know if i'm able to filter the events by type, date, etc...

[edit]clickety[/edit]
Posted
Updated 26-Feb-14 23:06pm
v3
Comments
Rana Zarour 26-Feb-14 14:24pm    
what is the data source for your list view ?? you can use dataview filter then bind your dataview to listview
pedro-gon 27-Feb-14 4:51am    
I'm trying to implement a program like in this article: http://www.codeproject.com/Articles/58740/FileSystemWatcher-Pure-Chaos-Part-1-of-2 Every time a file event is fired, a element is added to the listview. I wanna know if i'm able to filter the events by type, date, etc...
ZurdoDev 26-Feb-14 17:12pm    
Where are you stuck?
pedro-gon 27-Feb-14 4:51am    
I'm trying to implement a program like in this article:
http://www.codeproject.com/Articles/58740/FileSystemWatcher-Pure-Chaos-Part-1-of-2
Every time a file event is fired, a element is added to the listview.
I wanna know if i'm able to filter the events by type, date, etc...
ZurdoDev 27-Feb-14 7:20am    
The best way to find out is try the code. See what options are available.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900