Home > DeveloperSection > Interviews > Difference between SqlCommand and SqlCommandBuilder

Posted on    October-25-2010 12:00 AM

 DB2 DB2 
 1 Answer(s)
  850  View(s)
Rate this:

Rajesh Goswami

Total Post:85

Posted on    November-08-2010 1:00 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick