BindingSource.Filter don't work properly with OracleDataTabl
Posted: Thu 20 Aug 2009 07:57
Hi
There is a problem with BindingSource
In my project i have 2 binding sources, binded to one data table
this.testBindingSource1.DataMember = "Test";
this.testBindingSource1.DataSource = this.dataSet1;
this.testBindingSource2.DataMember = "Test";
this.testBindingSource2.DataSource = this.dataSet1;
this.gridView1 = this.testBindingSource1;
this.gridView2 = this.testBindingSource2;
///// Now i want to show in second grid only one row.
this.testBindingSource2.Filter = "ID = 0"
But suddenly first grid also show me only one row. Looks like this.testBindingSource1 also have the same filter but if i see Filter property it still null. There is problem here?
Thank
There is a problem with BindingSource
In my project i have 2 binding sources, binded to one data table
this.testBindingSource1.DataMember = "Test";
this.testBindingSource1.DataSource = this.dataSet1;
this.testBindingSource2.DataMember = "Test";
this.testBindingSource2.DataSource = this.dataSet1;
this.gridView1 = this.testBindingSource1;
this.gridView2 = this.testBindingSource2;
///// Now i want to show in second grid only one row.
this.testBindingSource2.Filter = "ID = 0"
But suddenly first grid also show me only one row. Looks like this.testBindingSource1 also have the same filter but if i see Filter property it still null. There is problem here?
Thank