次の方法で共有


DataAdapter.AcceptChangesDuringFill プロパティ

Fill 操作中に DataTableDataRow が追加された後で、その行に対して AcceptChanges を呼び出すかどうかを示す値を取得または設定します。

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);

プロパティ値

DataRow に対して AcceptChanges を呼び出す場合は true 。それ以外の場合は false 。既定値は true です。

解説

false の場合、 AcceptChanges は呼び出されず、新しく追加した行は挿入行として処理されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

DataAdapter クラス | DataAdapter メンバ | System.Data.Common 名前空間