バージョン

CommitChanges メソッド

元の行の変更をコミットしようとします。
シンタックス
'宣言
 
Public Overridable Function CommitChanges() As Boolean
public virtual bool CommitChanges()

戻り値の型

変更がコミットされた場合は True。
使用例
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
	' Attempt to commit the changes to the underlying row
	If Me.UltraGridRowEditTemplate1.CommitChanges() Then
	' If we the changes were successfully made, close the template
		Me.UltraGridRowEditTemplate1.Close(False)
	Else
		' Notify the user that we couldn't update the changes
		MessageBox.Show("Could not commit changes")
	End If
End Sub
private void btnSave_Click(object sender, EventArgs e)
{
    // Attempt to commit the changes to the underlying row
    if (this.ultraGridRowEditTemplate1.CommitChanges())
        // If we the changes were successfully made, close the template
        this.ultraGridRowEditTemplate1.Close(false);
    else
        // Notify the user that we couldn't update the changes
        MessageBox.Show("Could not commit changes");
}
参照