Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am I missing something here? I thought when you take and hit the save button on the premade bindingnavigator it will update all your records.

Here is what is strange. when i run the program in the developer and make a change and hit save it appears to save it. I close the program and load it again in the developer and the data is there. However; when I look in my database that the data is suppose to be written to, the data update does not exist. Am I suppose to add something to the click event other than the default of:
private void bookListBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.bookListBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.bookdbDataSet);

        }
Posted

1 solution

I hope you have solved your problem already.

In case you are not, I will suggest you to check your binding source whether its pointing the dataset object bookdbDataSet as its data source rather than the class of the Dataset. You can find it in your binding source property.

There may have other reasons.But its hard to assume without knowing a little bit more about your project.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900