Tuesday, May 5, 2009

to commit the cahnges in DataGridView and DataBindings

to commit the cahnges in DataGridView

UcdgvAuxiliary.BeginEdit(True)

UcdgvAuxiliary.EndEdit(CType(True, DataGridViewDataErrorContexts))
UcdgvAuxiliary.CommitEdit(DataGridViewDataErrorContexts.Commit)

=================================================

ucbtnAuxiliary.BindingContext(dsAuxilKeys, dsAuxilKeys.Tables(0).TableName).EndCurrentEdit()
ucbtnsConcept.BindingContext(dsAuxilKeys, dsAuxilKeys.Tables(0).TableName).EndCurrentEdit()

No comments:

Post a Comment