I am connected through the datatable component. No I have not used any acceptchanges command.
Main Topics
Browse All TopicsI have a textbox linked to a dataset using bindingsource. What's happening is that when i want to save the changes to the database it is not taken the changes.
I use something like this.
bb.bindingsource.endedit()
dttableadapter.update(data
If I look at the dataset in the IDE viewer I can see the record that has been changed properly. For some reason it not flagging as changes though.
I have even tried:
Datatable data = datasetname.table.getchang
int rec = data.rows.count
and nothing shows. It is just a null value. I am not sure if I am missing something for the bindingsource or not.
Very odd.
This is c# and 2005.
Any ideas would be great!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Also, bman, where do you call EndEdit from and what is the bb object?
I typically set up a function, like the Row_TextChanged function below that I call when the user changes the text in any bound controls.
Calling the EndEdit() function pushs the changes back to the dataset / datatable, etc behind the binding source
Business Accounts
Answer for Membership
by: topdog770Posted on 2007-11-19 at 08:14:05ID: 20313329
How are you connecting your bindingsource to the datatable?
Are you calling AcceptChanges somewhere along the way?