Re (by Cor): update DataSet - transaction

  • Thread starter Thread starter TheMaxx
  • Start date Start date
T

TheMaxx

I think you finally got me!
This is an answer i was looking for.
But it just feels like a walkaround instead a straight forward, 'by the book
(MSDN)' stuff.
It's hard to belive that Microsoft did not provide something simpler for a
common functionality.

Why introducing TableAdapters when transaction is not provided for them?
Also i can hardy belive that TableAdapters do not have a base class (or
interface) so it's making it hard to program generic solution for them.

Oh, yeah, can you please provide code, that would be really heplful.
Thanx!
 
TheMaxx,

I thought that I remember it me again, just setting the connection in your
second table adapter to the same as to the first, remember that it is only
a reference.

Cor
 
But you also have to set Transaction object on Adapter Insert/Update/Delete
commands , right?
And how can you get Adapter from TableAdapter ?? - That's really what i need
to find out!
Thanx.
 
Hi,

I am sorry I have searched but lost my sample with two tableadapters.

Sorry

Cor
 
Back
Top