DataRowView.EndEdit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Commits changes to the underlying DataRow and ends the editing session that was begun with BeginEdit(). Use CancelEdit() to discard the changes made to the DataRow.
public:
virtual void EndEdit();
public void EndEdit ();
abstract member EndEdit : unit -> unit
override this.EndEdit : unit -> unit
Public Sub EndEdit ()
Implements
Examples
The following example edits a row in a DataView. calling the BeginEdit before, and EndEdit afterwards.
Private Sub EditRow(view As DataView)
view.AllowEdit = True
view(0).BeginEdit
view(0)("FirstName") = "Mary"
view(0)("LastName") = "Jones"
view(0).EndEdit
End Sub
Applies to
See also
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.