Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
DataView Class
 DataView Members
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DataView Members

Updated: November 2007

Represents a databindable, customized view of a DataTable for sorting, filtering, searching, editing, and navigation.

The DataView type exposes the following members.

  NameDescription
DataViewOverloaded. Initializes a new instance of the DataView class.
Top
  NameDescription
AddNew Adds a new row to the DataView.
BeginInit Starts the initialization of a DataView that is used on a form or used by another component. The initialization occurs at runtime.
Close Closes the DataView.
ColumnCollectionChanged Occurs after a DataColumnCollection has been changed successfully.
CopyTo Copies items into an array. Only for Web Forms Interfaces.
Delete Deletes a row at the specified index.
DisposeOverloaded. Disposes of the resources, other than memory, that are used by the DataView object.
EndInit Ends the initialization of a DataView that is used on a form or used by another component. The initialization occurs at runtime.
EqualsOverloaded. Determines whether the specified objects are considered equal.
FinalizeOverloaded.
FindOverloaded. Finds a row in the DataView by the specified sort key value.
FindRowsOverloaded. Returns an array of DataRowView objects whose columns match the specified sort key value.
GetEnumerator Gets an enumerator for this DataView.
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetService Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
GetType Gets the Type of the current instance. (Inherited from Object.)
IndexListChanged Occurs after a DataView has been changed successfully.
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
OnListChanged Raises the ListChanged event.
Open Opens a DataView.
Reset Reserved for internal use only.
ToStringOverloaded.
ToTableOverloaded. Creates and returns a new DataTable based on rows in an existing DataView.
UpdateIndexOverloaded. Reserved for internal use only.
Top
  NameDescription
AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
  NameDescription
AllowDelete Sets or gets a value that indicates whether deletes are allowed.
AllowEdit Gets or sets a value that indicates whether edits are allowed.
AllowNew Gets or sets a value that indicates whether the new rows can be added by using the AddNew method.
ApplyDefaultSort Gets or sets a value that indicates whether to use the default sort.
Container Gets the container for the component. (Inherited from MarshalByValueComponent.)
Count Gets the number of records in the DataView after RowFilter and RowStateFilter have been applied.
DataViewManager Gets the DataViewManager associated with this view.
DesignMode Gets a value indicating whether the component is currently in design mode. (Inherited from MarshalByValueComponent.)
Events Gets the list of event handlers that are attached to this component. (Inherited from MarshalByValueComponent.)
IsInitialized Gets a value that indicates whether the component is initialized.
IsOpen Gets a value that indicates whether the data source is currently open and projecting views of data on the DataTable.
Item Gets a row of data from a specified table.
RowFilter Gets or sets the expression used to filter which rows are viewed in the DataView.
RowStateFilter Gets or sets the row state filter used in the DataView.
Site Gets or sets the site of the component. (Inherited from MarshalByValueComponent.)
Sort Gets or sets the sort column or columns, and sort order for the DataView.
Table Gets or sets the source DataTable.
Top
  NameDescription
Disposed Adds an event handler to listen to the Disposed event on the component. (Inherited from MarshalByValueComponent.)
Initialized Occurs when initialization of the DataView is completed.
ListChanged Occurs when the list managed by the DataView changes.
Top
  NameDescription
IList..::.Add For a description of this member, see IList..::.Add.
IBindingList..::.AddIndex For a description of this member, see IBindingList..::.AddIndex.
IBindingList..::.AddNew For a description of this member, see IBindingList..::.AddNew.
IBindingList..::.AllowEdit For a description of this member, see IBindingList..::.AllowEdit.
IBindingList..::.AllowNew For a description of this member, see IBindingList..::.AllowNew.
IBindingList..::.AllowRemove For a description of this member, see IBindingList..::.AllowRemove.
IBindingList..::.ApplySort For a description of this member, see IBindingList..::.ApplySort.
IBindingListView..::.ApplySort For a description of this member, see IBindingListView..::.ApplySort.
IList..::.Clear For a description of this member, see IList..::.Clear.
IList..::.Contains For a description of this member, see IList..::.Contains.
IBindingListView..::.Filter For a description of this member, see IBindingListView..::.Filter.
IBindingList..::.Find For a description of this member, see IBindingList..::.Find.
ITypedList..::.GetItemProperties For a description of this member, see ITypedList..::.GetItemProperties.
ITypedList..::.GetListName For a description of this member, see ITypedList..::.GetListName.
IList..::.IndexOf For a description of this member, see IList..::.IndexOf.
IList..::.Insert For a description of this member, see IList..::.Insert.
IList..::.IsFixedSize For a description of this member, see IList..::.IsFixedSize.
IList..::.IsReadOnly For a description of this member, see IList..::.IsReadOnly.
IBindingList..::.IsSorted For a description of this member, see IBindingList..::.IsSorted.
ICollection..::.IsSynchronized For a description of this member, see ICollection..::.IsSynchronized.