Joao:
Set all of the CommandBuilder Logic irrespective of the transaction...
so say you get your commandbuilder data built...
sqlCmdBuilder = New SqlClient.SqlCommandBuilder(da2)
And now you want to update....
Dim dbTrans as OleDbTransaction //or SQL or ODBC
dbTrans = someConnection.BeginTransaction
Try
myDataAdapter.Update(soemDataTable_DataSet)
transaction.Commit
Catch
Transaction.Rollback.
"Joao Santa Barbara" <jo****@i24potugal.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
hi all i need to work with the commandbuilder and with a transaction
object how can i do this ????
thks
JSB
please donīt tell me that i have to do this
ex:
mycommand.transaction = commandbuilder.insertcommand
is this logic ????? i donīt think so ...