Saving many rows with Spread and ADO.Net

  • Thread starter Thread starter Earl
  • Start date Start date
E

Earl

I was using Spread for awhile and then haven't played with it for several
months, so I've somewhat lost focus on the data updating ... Anyway, what
I'm trying to do is save many rows from one page of the Spread back to the
database. Is there a better method than looping through through the rows and
submitting a dataadapter update for each iteration of the loop??
 
Hi,

You do not need to call Update of the dataadapter for each row. When you
call Update method, then DataAdapter will update, delete and insert all the
affected rows. But it does it internally using loop anyway
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top