Click here to Skip to main content
Click here to Skip to main content

Tagged as

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.

License

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

Share

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.

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web04 | 2.8.140902.1 | Last Updated 29 Aug 2011
Article Copyright 2011 by Shining Legend
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid