This documentation is archived and is not being maintained.

SqlCeCommandBuilder.DataAdapter Property

Gets or sets a SqlCeDataAdapter object for which SQL statements are automatically generated.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in

public SqlCeDataAdapter DataAdapter { get; set; }
/** @property */
public SqlCeDataAdapter get_DataAdapter ()

/** @property */
public void set_DataAdapter (SqlCeDataAdapter value)

public function get DataAdapter () : SqlCeDataAdapter

public function set DataAdapter (value : SqlCeDataAdapter)

Not applicable.

Property Value

A SqlCeDataAdapter object.

The SqlCeCommandBuilder registers itself as a listener for RowUpdating events that are generated by the SqlCeDataAdapter specified in this property.

When you create a new instance of SqlCeCommandBuilder, any existing SqlCeCommandBuilder associated with this SqlCeDataAdapter is released.

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0, 1.0