vb.net VS 2015 using databinding and saving changes

i really hope this is just a knowing which screw to turn problem.

i am doing an options page for a larger project.

the plan is to put a bunch of boolean options on the screen (checkboxes) that use databinding (set in databindings ->advanced-> Data Source Update Mode
all i have right now is 1 field with a check box

it runs this piece of code ... which fills up the dataset, and populates the value of the checkbox with the data in the dataset.  reading it works ok
 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'CtDataSet.CProfile' table. You can move, or remove it, as needed.
        Me.CtProfileTableAdapter.Fill(Me.CtDataSet.CtProfile)

    End Sub


i was *** ASSUMING ***  that setting the Data Source Update Mode to OnPropertyChanged would update the underlying databind...
apparrently i was wrong.

what does " Data Source Update Mode to OnPropertyChanged " mean.... and how do i update the changes of the checkboxes if it is not with that setting.



property in question
CASorterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CodeCruiserCommented:
Datasource in this case is your dataset/datatable. You need to call the update method on tableadapter to send changes back to your database.
0
CASorterAuthor Commented:
ok, so what is the point of the setting?

the datasource update mode...
OnPropertyChanged.



is it to indicate where i put my update method?...  in this case... put it in on property changed?...

but why would i need a setting for that?...   why wouldnt i just put it there anyway.


just confused.
0
CodeCruiserCommented:
Data source in this context is your datatable/dataset. That setting justs means that the datatable value will be updated as soon as OnPropertyChange event fires (internal stuff). You then need to push those changes to database using tableadapter.update method.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.