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!

DataSet.HasChanges (DataRowState)

Gets a value indicating whether the DataSet has changes, including new, deleted, or modified rows, filtered by DataRowState.

[Visual Basic]
Overloads Public Function HasChanges( _
   ByVal rowStates As DataRowState _
) As Boolean
[C#]
public bool HasChanges(
   DataRowState rowStates
);
[C++]
public: bool HasChanges(
   DataRowState rowStates
);
[JScript]
public function HasChanges(
   rowStates : DataRowState
) : Boolean;

Parameters

rowStates
One of the DataRowState values: Detached, Unchanged, New, Deleted, and Modified.

Return Value

true, if the DataSet has changes; otherwise, false.

Remarks

Examine the HasChanges property after invoking GetChanges method.

See Also

DataSet Class | DataSet Members | System.Data Namespace | DataSet.HasChanges Overload List