Hi all, I'm using a DataGridView and I bind a List to the DataSource.
I already have the right columns and I map exactly the fields. What I'm trying to do is handling a sort of RowAdded
or RowDataBound
(like in aspx GridView) event.
The only event that I found is RowsAdded
but no matter how many items I have, it is fired only 4 times the first time i bound, and twice the other times, with values
e.RowCount:1 e.RowIndex:0 e.RowCount:[n-1] e.RowIndex:1 *where n is the number of my items
is there a way I can get to a handle for each item?
EDIT: without changing the DataSource =
binding method