Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

DataView Members

DataView overview

Public Constructors

public constructorDataView Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the DataView class.

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.

Public Methods

public methodAddNew

Supported by the .NET Compact Framework.

Adds a new row to the DataView.
public methodBeginInit

Supported by the .NET Compact Framework.

Begins the initialization of a DataView that is used on a form or used by another component. The initialization occurs at runtime.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies items into an array. Only for Web Forms Interfaces.
public methodDelete

Supported by the .NET Compact Framework.

Deletes a row at the specified index.
public methodDispose (inherited from MarshalByValueComponent)

Supported by the .NET Compact Framework.

Overloaded. Releases the resources used by the MarshalByValueComponent.
public methodEndInit

Supported by the .NET Compact Framework.

Ends the initialization of a DataView that is used on a form or used by another component. The initialization occurs at runtime.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFind

Supported by the .NET Compact Framework.

Overloaded. Finds a row in the DataView by the specified sort key value.
public methodFindRows

Supported by the .NET Compact Framework.

Overloaded. Returns an array of DataRowView objects whose columns match the specified sort key value.
public methodGetEnumerator

Supported by the .NET Compact Framework.

Gets an enumerator for this DataView.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetService (inherited from MarshalByValueComponent) Gets the implementer of the IServiceProvider.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Public Events

public eventDisposed (inherited from MarshalByValueComponent) Adds an event handler to listen to the Disposed event on the component.
public eventListChanged Occurs when the list managed by the DataView changes.

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.

Protected Methods

protected methodClose

Supported by the .NET Compact Framework.

Closes the DataView.
protected methodColumnCollectionChanged

Supported by the .NET Compact Framework.

Occurs after a DataColumnCollection has been changed successfully.
protected methodDispose Overloaded.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodIndexListChanged

Supported by the .NET Compact Framework.

Occurs after a DataView has been changed successfully.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnListChanged

Supported by the .NET Compact Framework.

Raises the ListChanged event.
protected methodOpen

Supported by the .NET Compact Framework.

Opens a DataView.
protected methodReset

Supported by the .NET Compact Framework.

Reserved for internal use only.
protected methodUpdateIndex

Supported by the .NET Compact Framework.

Overloaded. Reserved for internal use only.

Explicit Interface Implementations

See Also

DataView Class | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.