Updating a trigger in a DataTable bound to a DataGridView

In my .NET / Forms application, I have a DataGridView bound to a DataTable. The user selects the DataGridView row with a double click and performs some interaction with the application. After that, the contents of the string are updated programmatically.

When the user selects a new row, the changes in the previous case are automatically propagated to the DataTable using the framework. How can I call this update from my code so that the user does not need to select a new line?

+5
source share
3 answers

, :

, . CTRL + . , form Validate. - BindingSource, BindingSource.EndEdit.

Calling Validate() .

+4

, , , , , , OK . , . ? ? ?

0

:

  • db, , DataGridView
  • , ,
  • , db DataGridView

  • DataGridView

  • DataTable

I would like to start 6 right after changing the DataGridView from my code.

0
source

All Articles