G Greg Smith Jul 7, 2005 #1 Is there a quick and dirty way to filter the lines displayed in a ListBox? Any help is greatly appreciated.
Is there a quick and dirty way to filter the lines displayed in a ListBox? Any help is greatly appreciated.
N Nicholas Paldino [.NET/C# MVP] Jul 7, 2005 #2 Greg, If you have added the items yourself, then you will need to remove those items manually from the list. If the source of the list is a data table (hopefully, a view), then you should be able to filter the view, and the listbox will update appropriately. Hope this helps.
Greg, If you have added the items yourself, then you will need to remove those items manually from the list. If the source of the list is a data table (hopefully, a view), then you should be able to filter the view, and the listbox will update appropriately. Hope this helps.