- dataSource
- The System.Windows.Forms.CurrencyManager of the System.Windows.Forms.DataGrid control the column belongs to.
- rowNum
- The number of the edited row.
true if the value was successfully committed; otherwise, false.
The method checks to ensure that an edit is indeed occurring. If so, it formats the value appropriately. If the value is null, the method enters Convert.DBNull into the column; otherwise, it uses the DataGridColumnStyle.SetColumnValueAtRow(CurrencyManager, int, object) method to commit the value.
The method is called by the System.Windows.Forms.DataGrid when an editing operation is committed.