CommandBuilder

  • 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);

0 comments :

Post a Comment

> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger