示例 | DataRowState (DataRow状态) | Current (当前值) | Original (原始值) | Proposed | Default (默认值) |
新创建但独立的行: | Detached | [Exception] | [Exception] | InitValue | InitValue |
将新行添加到DataTable: tbl.Rows.Add(row); | Added | InitValue | [Exception] | [Exception] | InitValue |
最新获取的行: | Unchanged | Retrieved-Value | Retrieved-Value | [Exception] | Retrieved-Value |
编辑过程后: row(“ColX“)=“NewValue1“ | Modified | NewValue1 | Retrieved-Value | [Exception] | NewValue1 |
删除行以后: row.Delete() | Deleted | [Exception] | Retrieved-Value | [Exception] | [Exception] |