NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataView Members

Public:

Constructor

DataView Constructor Overloaded. Initializes a new instance of the DataView class.

Properties

AllowDelete Sets or gets a value indicating whether deletes are allowed.
AllowEdit Gets or sets a value indicating whether edits are allowed.
AllowNew Gets or sets a value indicating whether the new rows can be added using the AddNew method.
ApplyDefaultSort [To be supplied.]
DataSetView Gets the DataSetView associated with this DataView.
Item Gets a row of data from a specified table.

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

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 (inherited from Component) Gets or sets the site of the Component.
Sort Gets or sets the sort column or columns, and sort order for the table.
Table Gets or sets the source DataTable.

Methods

AddNew Adds a new row of data.
Delete Deletes a row.
Dispose [To be supplied.]
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
Find Overloaded. Finds a row in the DataView.
GetContainer (inherited from Component) Returns the IContainer that contains the Component.
GetDesignMode (inherited from Component) Gets a value indicating whether the Component is currently in design mode.
GetEnumerator Gets an enumerator for this DataView.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetServiceObject (inherited from Component) Returns an object representing a service provided by the Component.
GetType (inherited from Object) Gets the Type of the Object.
Index_ListChanged [To be supplied.]
ResetSort Resets the Sort property to its default state.
ShouldPersistSort Indicates whether the Sort property should be persisted.
ToString (inherited from Component) Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only.

Events

ListChanged Occurs when the list managed by the DataView changes.
PropertyChanged Occurs when a property value changes.

Protected:

Properties

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

Methods

Close Closes the DataView.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
GetFilter Gets the filter for the DataView.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnListChanged Raises the System.Data.DataView.ListChanged event.
OnPropertyChanged Raises the System.Data.DataView.PropertyChanged event.
Open Opens a DataView.
RaisePropertyChanged Raises the OnPropertyChanged event.
Reset [To be supplied.]
SetIndex [To be supplied.]
UpdateIndex Overloaded. [To be supplied.]

Event Hookup:

Methods

AddOnListChanged Adds an event handler for the System.Data.DataView.ListChanged event.
AddOnPropertyChanged Adds an event handler for the System.Data.DataView.PropertyChanged event.
RemoveOnListChanged Removes the event handler that has been associated with the OnListChanged event.
RemoveOnPropertyChanged Removes an event handler that has been associated with the OnPropertyChanged event.

See Also

DataView Class | System.Data Namespace