Saving current edits

L

lc

Pardon this newbie question: I have a user control with a bunch of
textboxes bound to a DataView drawing from a DataSet in a different
class. Data display works fine, but the changes don't seem to get
posted to the underlying table; hence, DataSet.HasChanges always
returns false. What am I missing?

TIA

lc
 
M

Miha Markic [MVP C#]

You are missing BindingManagerBase.EndCurrentEdit method.
Data isn't commited to dataset until you change row or call the above
method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top