
This step of the VIDEO TUTORIAL will demonstrate on how to add command buttons to data web controls such as FormView and GridView controls to web page CustomButtons.aspx in the newly created CustomButtons folder of Data Tutorial project. The command button in the FormView control will invoke a custom method that will discontinue products from a particular supplier. And the command buttons that are added to individual rows in the GridView control which displays the products belonging to a particular supplier would invoke a custom code that either increase or decrease a particular product’s UnitPrice by 10%. In order to accomplish this functionality in the upcoming steps of this tutorial a new folder titled CustomButtons is added to our project. Two new pages Default.aspx and CustomButtons.aspx are also added to this newly created folder. Finally, the web.sitemap file is updated t include this newly created folder and its new pages on site.master page’s left side navigation menu.For detailed information and source code for this step, please refer to the original article.