M
Murat Ozgur
Hello,
I have a problem with BindingSource.Find method. I bind a "list" to a
bindingsource then I use find method to find an object which has name
"Fred" :
List<Employee> empList = new List<Employee>;
.....
bindingSource1.DataSource = empList;
......
bindingSource1.Find("Name", "Fred")
but find method throws a NotSupportedException and its message is "This
operation requires an IBindingList.".
what is wrong ?
Thanks.
I have a problem with BindingSource.Find method. I bind a "list" to a
bindingsource then I use find method to find an object which has name
"Fred" :
List<Employee> empList = new List<Employee>;
.....
bindingSource1.DataSource = empList;
......
bindingSource1.Find("Name", "Fred")
but find method throws a NotSupportedException and its message is "This
operation requires an IBindingList.".
what is wrong ?
Thanks.