all groups > dotnet windows forms > february 2007 >
You're in the

dotnet windows forms

group:

FindRows() doesn't find last entered row in a DataGridView...


Re: FindRows() doesn't find last entered row in a DataGridView... RobinS
2/27/2007 8:44:06 AM
dotnet windows forms: Call EndEdit() before you do the Find.

Robin S.
-------------------------------
[quoted text, click to view]

FindRows() doesn't find last entered row in a DataGridView... Charlie NO[at]SPAM CBFC
2/27/2007 8:52:22 AM
Hi:

I'm using FindRows() to locate rows in a DataGridView. When adding new rows
consecutively, the last row added is not found when calling FindRows().
It's not until you shift focus away from newly added row by selecting other
rows will it find it. It's like it's not being committed. What is
workaround for this?

THanks,
Charlie

AddThis Social Bookmark Button