General AcceptChanges and Update Question
I have written a simple application that allows the user to update a yes/no flag.
The columns are -- customer, resend_file (the flag), and record_date.
The only editable column is the resend_flag.
If the user changes the flag, and immediately clicks the save button it does not save the changes.
You have to make sure youve clicked out of the field into another rows resend_flag. Ive selected another row without clicking on the editable column, then clicking save, and it doesnt save.
Im sure there is a simple solution. Ive searched for information on acceptchanges and endedit. But I havent found an answer.
How do you get the datagrid to accept the changes? What method -- AcceptChanges? and What Event?
Thanks for any help.
I have written a simple application that allows the user to update a yes/no flag.
The columns are -- customer, resend_file (the flag), and record_date.
The only editable column is the resend_flag.
If the user changes the flag, and immediately clicks the save button it does not save the changes.
You have to make sure youve clicked out of the field into another rows resend_flag. Ive selected another row without clicking on the editable column, then clicking save, and it doesnt save.
Im sure there is a simple solution. Ive searched for information on acceptchanges and endedit. But I havent found an answer.
How do you get the datagrid to accept the changes? What method -- AcceptChanges? and What Event?
Thanks for any help.