Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Datagridview Accept Current Edits when toolbar save button Clicked

$
0
0

Scenario:

I have a editable datagridview and a toolbar with a save button on the form.

Users are typing a value into the cell and clicking the save button. 

This results in the record not saving the typed value as they have not accepted the change by using the enter Key or changing their selection to an alternative row.

Is there a way to have the save button accept the change as if the enter button was pressed prior to the save button?


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>