Wednesday, January 9, 2013

ASP.NET: Gridview Control

The ASP.NET Gridview Control
Feature: CommandName



Very often development requires some type of shopping cart control.  In this example were going to break down accessing the values in the grid control.  


The GridView Control:  Web Page View 






CommandName when the user clicks on the "ButtonField" the code behind responds in the case the "Add" stored when the "Runat=Server" is called when clicked.  

GridView> Expanded View > Focus: "CommandName"  > Design View 






GridView>Expanded View> .... What you need to build the control  > Design View 



Share: