BDRichardson
Programmer
Hi,
Is it possible to raise an event programmatically? The reason I ask is, when changing a DataRow within a DataTable, the RowState is not updated from Unchanged to Modified unless the focus moves from the current DataRow to another. I would like the RowState to be updated, i.e. raise the RowChanged (OnRowChanged) event after a Cell value has changed, as opposed to being raised by the focus being moved from one DataRow to another.
Is it possible to raise an event programmatically? The reason I ask is, when changing a DataRow within a DataTable, the RowState is not updated from Unchanged to Modified unless the focus moves from the current DataRow to another. I would like the RowState to be updated, i.e. raise the RowChanged (OnRowChanged) event after a Cell value has changed, as opposed to being raised by the focus being moved from one DataRow to another.