Export (0) Print
Expand All

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
[C#]
public bool AcceptChangesDuringFill {get; set;}
[C++]
public: __property bool get_AcceptChangesDuringFill();
public: __property void set_AcceptChangesDuringFill(bool);
[JScript]
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.

Remarks

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

Requirements

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

Show:
© 2014 Microsoft