Datagridview bound to bindingsource with .datasource
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)
0
<body id="bodyMain" onload="window.print();">
This is already working on a website. I am scraping data from html but print preview is disturbing to scrape data.
0
sir u mean printing the material without dialogbox ?