Hi,
I have a DataGridView control, where I am setting its Datasource
property to a datatable. The DataGridView has it's MultiSelect property
set to false
I also have a handler for the SelectionChanged event.
When I load the data, I set the DataSource property, and then call
ClearSelection() to make sure there are no selected rows.
This fires the SelectionChanged event, with Row 0 being selected, as the
event appears to fire before the selection actually gets changed.
How do I know whether the selection has changed or is about to be
changed? At the moment I just can't tell.
Thanks.
Paul Cheetham
|