M
mattioli.mirko
Hello,I'm a problem.
I inizialize an object BindingSource with :
myBindingSource.DataSource = myDatatable;
and myDataGridView.DataSource = myBindingSource.
but I have a problem :
when I filter BindingSource ( code : myBindingSource.Filter =
"FIELD=0")
myDataGridView show many error ,
For example the rows in myBindingSource is 10 ,
when I click button wich filter ( the rows = 5 , after the filter) ,
the form show many error : "DataGridView : Nothing value at rowIndex 6"
and 7 , 8 ,9 ....
Exist many property of DataGridView , or what is the solution ???
Thanks all people ...
I inizialize an object BindingSource with :
myBindingSource.DataSource = myDatatable;
and myDataGridView.DataSource = myBindingSource.
but I have a problem :
when I filter BindingSource ( code : myBindingSource.Filter =
"FIELD=0")
myDataGridView show many error ,
For example the rows in myBindingSource is 10 ,
when I click button wich filter ( the rows = 5 , after the filter) ,
the form show many error : "DataGridView : Nothing value at rowIndex 6"
and 7 , 8 ,9 ....
Exist many property of DataGridView , or what is the solution ???
Thanks all people ...