asp.net.ph

DataRowView.EndEdit Method

System.Data Namespace   DataRowView Class


Ends an edit procedure.

[ VB ]
NotOverridable Public Sub EndEdit ( )

[ C# ]
public void EndEdit ( );

[ C++ ]
public: __sealed void EndEdit ( );

[ JScript ]
public function EndEdit ( );

Example

The following example edits a row in a DataView. calling the BeginEdit before, and EndEdit afterwards.

private void EditRow ( dv As DataView ) {
   dv.AllowEdit = True;
   dv [ 0 ].BeginEdit;
   dv [ 0 ] [ "FirstName" ] = "Mary";
   dv [ 0 ] [ "LastName" ] = "Jones";
   dv [ 0 ].EndEdit;
}
  C# VB

See Also

DataRowView Members   AcceptChanges   AllowDelete   AllowEdit   AllowNew   CancelEdit   DataRow   BeginEdit 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