2
Reply

Datagridview bound to bindingsource with .datasource

Ask a question
Rambo Vincent

Rambo Vincent

8 years ago
419
1
I have a datagridview bound to bindingsource which is pulling from dataset. When a value changes by user at runtime in the datagridview cells the changes are not saved to bindingsource. I tried calling binsingsource.endedit and datagrid.endedit but neither save the data without clicking outside of the grid and changing a value elsewhere (leaving grid focus) .... I'm at wits end with datagridview and bindingsources not saving my values. I tried even using dirtycell and cell value changed events with endedit but the value won't save to dataset or binsingsource unless focus leaves grid! Whyyy

Answers (2)