AcceptChangesDuringFill Property

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.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public bool AcceptChangesDuringFill { get; set; }

Property Value

Type: System.Boolean

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.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft