data bindings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

here´s my question

I´m doing a database program, and when the user type a part of the name of the consumer, i populate a listbox with all the consumers that have these part in their names. If the user click in some name in the listbox, the textboxs are populated with the data from that consumer. But if the user chage some data int these textboxes, i can save these changes only by calling the update event??

[]s...
 
Hi Ricardo,

Yup, you would use the DataAdapter to update the data source. You can then
use AcceptChanges on the DataSet that, I presume, you are using.

Ta,

Colin

Ricardo said:
here´s my question:

I´m doing a database program, and when the user type a part of the name of
the consumer, i populate a listbox with all the consumers that have these
part in their names. If the user click in some name in the listbox, the
textboxs are populated with the data from that consumer. But if the user
chage some data int these textboxes, i can save these changes only by
calling the update event???
 

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

Back
Top