开发者

SqlDataAdapter has some of the functions like AddToBatch(), ClearBatch(), ExecuteBatch(). What are they used for?

开发者 https://www.devze.com 2023-02-09 19:20 出处:网络
I need an example to understand this o开发者_StackOverflow中文版r some good articles would helpIf you want to execute a number of commands in one batch, you can add them to a batch then execute it.

I need an example to understand this o开发者_StackOverflow中文版r some good articles would help


If you want to execute a number of commands in one batch, you can add them to a batch then execute it.

A batch is simply a collection of commands - sometimes you may want to send them all together to the database instead of one at a time.

0

精彩评论

暂无评论...
验证码 换一张
取 消