   [.net] DataGridView performance problem
  Hi!I have my own DataGridView class (derived from the .NET DataGridView). I want it to have a live search option: if you start typing in it, a little textbox appears TotalCommander-style, and the datagrid starts hiding all items that does not match the search criteria. The problem is that the datagrid does this extremely slow (i use this thextbox's text, and an event to set the visibility if a specific row). It seem that the DataGridViewRow.Visible property is extremely slow. It does something with the datagrid in the background, when its value is altered (in both directions).Any ideas?Thanks in advance!ps: the grid has to display more than 10k items...   
  I haven't had problems with DataGridView efficiency even with high data loads (though over 10 k items seem to be rather excessive). Especially setting a visibility should be very fast if done correctly. A common problem is that whatever you do, it fires a bunch load of new events that has to be processed and they in turn can fire some new events. Or that you have overridden one of the OnXXX functions and do something slow, like iterating through the whole collection on some common operation.;  Visibility setting is simply slow. now events are handled that correspond :S   ;  Is that 10,000 rows visible before or after searching? Are you using data bound/virtual mode? If not, are you using BeginUpdate/EndUpdate() on the DataGridView?I have had no performance problems in data bound mode when resetting the DGV's binding source (with 90,000 items - only 2 columns, though, and usually when searching, less than 1,000 or so are in the DGV's bound collection).   