adspace


What is the difference between Command and CommandBuilder object?

Answer Posted / Prateek Keshari

1. A Command represents an SQL statement or stored procedure, while a CommandBuilder generates the necessary commands for a DataAdapter based on the database schema.
2. A Command is directly used to execute SQL statements or calls to stored procedures, whereas a CommandBuilder is primarily used in conjunction with a DataAdapter.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of entity framework?

1055


Explain how to call the sql commands asynchronously in ado.net version 2.0?

1004