T
T. Bernstein
Hello,
I have used ADO for years, and I loved it. When I take a look at ADO.NET, I
somehow get the feeling I am worse off. I hope you can convince me of the
opposite.
Yes, I am more in control, but:
-- I write a lot more code
-- A simple update of a record has become a lot more difficult (used to be:
recordset.update, period !)
-- There are a lot more components involved (connection, adapter, dataset,
table).
Three questions:
1.
Do you have some arguments, which could take away my idea, that this ADO.NET
is not really an improvement?
2.
Is updating a batch of records not very dangerous, because all kinds of
things could have happened to the records, in the time between FILL and
UPDATE. How do you control such a mess, and how do you tell the user, that
update #3 of 40 did not work out? Do I have to extend their memories?
3.
Do you use bulk-updates, or one-at-a-time updates? What is your advice?
Thanks in advance
Jan van Toor
I have used ADO for years, and I loved it. When I take a look at ADO.NET, I
somehow get the feeling I am worse off. I hope you can convince me of the
opposite.
Yes, I am more in control, but:
-- I write a lot more code
-- A simple update of a record has become a lot more difficult (used to be:
recordset.update, period !)
-- There are a lot more components involved (connection, adapter, dataset,
table).
Three questions:
1.
Do you have some arguments, which could take away my idea, that this ADO.NET
is not really an improvement?
2.
Is updating a batch of records not very dangerous, because all kinds of
things could have happened to the records, in the time between FILL and
UPDATE. How do you control such a mess, and how do you tell the user, that
update #3 of 40 did not work out? Do I have to extend their memories?
3.
Do you use bulk-updates, or one-at-a-time updates? What is your advice?
Thanks in advance
Jan van Toor