The RowState property of the DataRow object in ADO.NET is read-only, but from 2.0 of the .NET Framework it is possible to change the state of the row, with two new methods: SetAdded and SetModified. Note though that it is only possible to use this methods of rows where the current RowState is Unchanged or Added.