Jump to content
Xtreme .Net Talk

same OleDB datasets between two forms?


Recommended Posts

Guest cgchris99
Posted

How can I use the same OLE db datasets between two forms.

 

I have the main form then I have a lookup form. The lookup allows the user to search through the database and select a record.

 

I then fill the dataset that is on the main form and the fields update fine. However, when I make a change to a field on the main form and attempt to save the data using myadapter.update(....)

 

It doesn't work. I am wondering if it is because the adapter on the main form is not the same as the one on the lookup form.

 

Any ideas?

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...