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.

 property bool AcceptChangesDuringFill { bool get(); void set(bool value); };
public bool AcceptChangesDuringFill { get; set; }
public bool AcceptChangesDuringFill { get; set; }
member this.AcceptChangesDuringFill : bool with get, set
Public Property AcceptChangesDuringFill As 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.

Applies to

See also