Interviews3 answers
What is the use of SqlCommandBuilder?
3 Answers
You write only select command to retrieve data form database with the help of DataReader and rest of the commands(Like Insert , Update and Delete) are automatically generated when you create the instance of CommandBuilder .
Sandeep SinghPosted Sep 16, 2016, 6:59 AM EDT
SqlCommandbuilder is mostly use for execute the query against the database for CRUD application.
Pramod LawatePosted Aug 5, 2013, 6:38 AM EDT
a)SQLCommand is used to execute all kind of SQL queries like DML(Insert, update,Delete) & DDL like(Create table, drop table etc)
b)SQLCommandBuilder object is used to build & execute SQL (DML) queries like select, insert, update & delete.
Dhiraj SharmaPosted Jul 6, 2013, 7:56 PM EDT


