- CommandBuilder is a class which is used to build the commands for DataAdapter object based on the table definition.
- If the table is defined based on the primary key then all the commands for DataAdapter will be generated.
- If the table is not defined with the primary key then the command relevant for Update and Delete commands will not be generated.
- Syntax: SqlCommandBuilder ObjectName =
new SqlCommandBuilder (dataAdapterOject);
CommandBuilder
Subscribe to:
Post Comments
(
Atom
)
0 comments :
Post a Comment