By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,671 Members | 1,393 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,671 IT Pros & Developers. It's quick & easy.

How do you update a dataset

P: n/a

I am trying to get the database to update on change of a combobox. The
table is tblMatch and I have a simple textbox defined with:

TextBox - databindings - text: tblMatchBindingSource - Description

The description appears but the following does not write back the changes:

private void Match_SelectedIndexChanged(object sender, EventArgs e)
{
Validate();
tblMatchBindingSource.EndEdit();
tblMatchTableAdapter.Update(AccessDBDataSet.tblMat ch);

How do I commit the changes to the database.

Thanks
Ken

Jul 4 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.