Gridview rowupdating disable textbox
The Grid View control is the successor to the Data Grid and extends it in a number of ways.
With this Grid View control, you could display an entire collection of data, easily add sorting and paging, and perform inline editing.
I had change the syntax error in c# as below: int current Row Index = Int32. Grid View control Row Command event will give you the Product ID of the product from the Grid View Rows when user will click any of the button in the Grid View. To handle click event of the buttons in Grid View you need to handle Row Command event of the Grid View control. Following code will show you how you can get Row Index, Product ID and Command Name of the button when user click any button in the Grid View. Net Grid View control with simple Data Set or Data Table, and also explains the methods like Insert, Edit, Update and Delete function in the Grid View control.You can see most of the articles and tutorials in many websites teach you the way to bind a Grid View control to the database with some Data Source controls such as SQLData Source, Object Data Source, Access Data Source and even XMLDatasource.