This documentation is archived and is not being maintained.

DataAdapter.AcceptChangesDuringFill Property

Gets or sets a value indicating whether AcceptChanges is called on a DataRow after it is added to the DataTable during any of the Fill operations.

[Visual Basic]
Public Property AcceptChangesDuringFill As Boolean
public bool AcceptChangesDuringFill {get; set;}
public: __property bool get_AcceptChangesDuringFill();
public: __property void set_AcceptChangesDuringFill(bool);
public function get AcceptChangesDuringFill() : Boolean;
public function set AcceptChangesDuringFill(Boolean);

Property Value

true if AcceptChanges is called on the DataRow; otherwise, false. The default is true.


If false, AcceptChanges is not called, and the newly added rows are treated as inserted rows.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataAdapter Class | DataAdapter Members | System.Data.Common Namespace