Filtering a DataGridView bound to a BindingSource
Windows Forms
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a DataGridView whose DataSource is BindingList of objects: this.peerList = new BindingList(); this.dataGridView1.AutoGenerateColumns = true; this.bindingSource = new BindingSource(); this.bindingSource.DataSource = this.peerList; this.dataGridView1.DataSource = this.bindingSource; I have found guides online of how to set up this filtering, but they only work if the source is a DataTable. Is there a way to mimic this behavior on a BindingList? Thanks, klk (Also, sorry for not using code tags, as they made the generics disappear). madness ? this.isSparta = true : this.isSparta = false;