bindingsource.find method not working

  • Thread starter Thread starter Mohan
  • Start date Start date
M

Mohan

Hi,

I am having problem with the find method. It gives an error saying
that the method is not supported. I am not sure why.
Is there something i am missing

This is the code i have.

int rowindex = BindingSource1.Find("ColumnName","461");


I would appreciate any help.
Thanks
MB
 
BindingSource is a proxy class; it simply passes requests to the actual data
source.

So that means your actual data source does not support Find(). The solution
to that: use DataSource which supports Find() (e.g. DataTable) or search it
manually.


--
Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Back
Top