Export (0) Print
Expand All

DataView Properties

The properties of the DataView class are listed here. For a complete list of DataView class members, see the DataView Members topic.

Public Properties

public propertyAllowDelete

Supported by the .NET Compact Framework.

Sets or gets a value indicating whether deletes are allowed.
public propertyAllowEdit

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether edits are allowed.
public propertyAllowNew

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the new rows can be added using the AddNew method.
public propertyApplyDefaultSort

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether to use the default sort.
public propertyContainer (inherited from MarshalByValueComponent) Gets the container for the component.
public propertyCount

Supported by the .NET Compact Framework.

Gets the number of records in the DataView after RowFilter and RowStateFilter have been applied.
public propertyDataViewManager

Supported by the .NET Compact Framework.

Gets the DataViewManager associated with this view.
public propertyDesignMode (inherited from MarshalByValueComponent) Gets a value indicating whether the component is currently in design mode.
public propertyItem Gets a row of data from a specified table.

In C#, this property is the indexer for the DataView class.

public propertyRowFilter

Supported by the .NET Compact Framework.

Gets or sets the expression used to filter which rows are viewed in the DataView.
public propertyRowStateFilter

Supported by the .NET Compact Framework.

Gets or sets the row state filter used in the DataView.
public propertySite (inherited from MarshalByValueComponent) Gets or sets the site of the component.
public propertySort

Supported by the .NET Compact Framework.

Gets or sets the sort column or columns, and sort order for the DataView.
public propertyTable

Supported by the .NET Compact Framework.

Gets or sets the source DataTable.

Protected Properties

protected propertyEvents (inherited from MarshalByValueComponent) Gets the list of event handlers that are attached to this component.
protected propertyIsOpen

Supported by the .NET Compact Framework.

Gets a value indicating whether the data source is currently open and projecting views of data on the DataTable.

Explicit Interface Implementations

System.Collections.IList.Item

In C#, this property is the indexer for the DataView class.

See Also

DataView Class | System.Data Namespace

Show:
© 2014 Microsoft