Rambo Vincent

Rambo Vincent

  • NA
  • 14
  • 1.9k

Datagridview bound to bindingsource with .datasource

Dec 14 2015 8:24 PM
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)