Click here to Skip to main content
13,349,820 members (53,283 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 29 Aug 2011

Increase update performance of sqlDataAdapter

, 29 Aug 2011
Rate this:
Please Sign up or sign in to vote.
Increase update performance of sqlDataAdapter
An easy way to increase update performance of SqlDataAdapter is to send the changes to the database server in batches by assigning a value to the DbDataAdapter object’s UpdateBatchSize property. The default value of this property is 1, which causes each change to be sent to the server on a row-by-row basis. Setting the value to zero instructs the DbDataAdapter object to create the largest possible batch size for changes, or you can set the value to the number of changes you want to send to the server in each batch.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Shining Legend
Software Developer
India India
I am a Software Developer in Dotnet technologies. I also provide online training in dotnet technologies.

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.180111.1 | Last Updated 29 Aug 2011
Article Copyright 2011 by Shining Legend
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid