First a dynamic Data Table object is created and its schema (Table structure and Columns) is defined programmatically.Once the columns are defined, then rows (records) are added to the dynamically generated Data Table.Command Argument: The Command Argument can contain any string set by the programmer.The Command Argument property complements the Command Name property by allowing you to provide any additional information for the command.
Command Name: Command Name property to determine the command to perform. Find Control("txtname"), Text Box) Dim stor_address As Text Box = Direct Cast(grid View. Find Control("txtaddress"), Text Box) Dim city As Text Box = Direct Cast(grid View. This Article explains how to use the Row Command Event in a Gridview.The Row Command Event can be used to get the selected Grid View Row value or text. Row Command Event: The Row Command Event occurs when a button is clicked in a Grid View control.