DataAdapter.AcceptChangesDuringFill Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: