asp.net.ph

DataRowView Class

System.Data Namespace


Represents a customized view of a DataRow exposed as a fully featured Windows Forms control.

DataRowView Class Members

Collapse   Properties

Visibility Name Value Type Accessibility
public DataView DataView [ Get ]
public IsEdit Boolean [ Get ]
public IsNew Boolean [ Get ]
public Item ( String property ) Object [ Get , Set ]
public Item ( Int32 ndx ) Object [ Get , Set ]
public Row DataRow [ Get ]
public RowVersion DataRowVersion [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public BeginEdit ( ) Void
public CancelEdit ( ) Void
public CreateChildView ( String relationName ) DataView
public CreateChildView ( DataRelation relation ) DataView
public CreateChildView ( String relationName , Boolean followParent ) DataView
public CreateChildView ( DataRelation relation , Boolean followParent ) DataView
public Delete ( ) Void
public EndEdit ( ) Void
public Equals ( Object other ) Boolean
public GetHashCode ( ) Int32

Collapse   Events

Multicast Name Type
multicast PropertyChanged PropertyChangedEventHandler

Remarks

Whenever data is displayed ( for example in a DataGrid control ), only one version of each row can be displayed. The displayed row is a DataRowView.

A DataRowView can have one of four different version states: Default, Original, Current, and Proposed.

After invoking BeginEdit on a DataRow, any edited value becomes the Proposed value. Until either CancelEdit or EndEdit is invoked, the row has an Original and a Proposed version. If CancelEdit is invoked, the proposed version is discarded, and the value reverts to the original. If EndEdit is invoked, the DataRowView no longer has a Proposed version; instead, the proposed value becomes the current value. Default values are available only on rows that have columns with default values defined.

See Also

DataRow Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph