T
tascienu
Ok, I am done with commandBuilder.
It causes more problem than it solves:
1. Adds unecessary events, that i don't really need.
2. Can't get back AutoIncrement ID of new records.
3. Creates more commands than i need.
I am building my own dataset update method using custom command
builders. One question before i proceed:
Does command builder use a loop to update records, or does it send all
in one statement?
ie:
for each dr as datarow in mydataset.tables(0).rows
' Execute some update statements....
dbExecute(thisRowStatement)
next
or does it just do it in one trip...
for each dr as datarow in mydataset.tables(0).rows
AllsqlStatements &= thisRowStatement...
next
dbExecute(AllsqlStatements)
Thanks for prompt reply...
Tascien
It causes more problem than it solves:
1. Adds unecessary events, that i don't really need.
2. Can't get back AutoIncrement ID of new records.
3. Creates more commands than i need.
I am building my own dataset update method using custom command
builders. One question before i proceed:
Does command builder use a loop to update records, or does it send all
in one statement?
ie:
for each dr as datarow in mydataset.tables(0).rows
' Execute some update statements....
dbExecute(thisRowStatement)
next
or does it just do it in one trip...
for each dr as datarow in mydataset.tables(0).rows
AllsqlStatements &= thisRowStatement...
next
dbExecute(AllsqlStatements)
Thanks for prompt reply...
Tascien