modifying a textbox bound to datasource - rowstate always says UNCHANGED - .NET VB: "Re: modifying a textbox bound to datasource - rowstate always says UNCHANGED
John
One of the most asked questions in these newsgroups.
For databinding there has to be a change of a control others than a button.
Therefore you have to push the data down by hand when you click a button.
(To do it efficient you can do it before the update command)
BindingContext(ds.Tables(0)).EndCurrentEdit()
I hope this helps,
Cor"
Tuesday, March 20, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment