I have created a dataset and a bindingsource. I set the datagridview datasource to the bindingsource and do the same for the textbox. As I move through my datagridviews rows, the textbox follows along nicely. When I edit the textbox or datagrid, the change will only show up once I change rows. My problem is if I edit the textbox and click on my save button which does this:
It does not actually save the change because the dataset has not changed yet. How do I get this to work?Code:this.Validate(); this.persDataBindingSource.EndEdit(); this.persDataTableAdapter.Update(this.dsDocs.PersData);




Reply With Quote