DataBinding

  • Thread starter Thread starter Krzysiek
  • Start date Start date
K

Krzysiek

Hi,
I have a few textboxes on a form bound (using .text property) to
DataSet.
When I change values in textboxes and then check DataSet.HaveChanges
method I get 'false'
Does it mean that data binding is just one-way mechanism?

Do I have to set all the values read from text-boxes in update query?
Is any way to do it automatically (having text boxes already bound to
DataSet)?
Pls advice.
Thanks in advance,
kb
 
Hmm... no...
I'm at work now, so I cannot check if it helps, but thank you very much
for fast reply.

On the one hand I can imagine that calling 'EndCurrentEdit' is necessary
in case of text boxes but on the other, does it mean that manual editing
of DataGrid bound to DataSet automatically calls something like
'EndCurrentEdit'?
As far I remember there is no need to do/call such thing to have the
values in DataSet changed... - of course I can be wrong.

Best regards,
kb


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Back
Top