Bound controls, which dataset, dataadapter?

  • Thread starter Thread starter Maurice
  • Start date Start date
M

Maurice

Dear reader,

I'm making a general function to update a database with changes on a form
with bound controls. I was wondering if it is possible to:

(1) see in code to which dataset the control is bound to? I'm adding the
databindings in runtime to the controls.

(2) see in code which dataadapter I have to use with the update command to
update the database with the changes on the form?


Thx
 
1) Yes, take a look at a controls DataBindings
2) You do not have to use the same DataAdapter that did the select for an
update
 
Back
Top