Add(New Data Column("Col1_ML", Get Type(String))) dt. Add(New Data Column("Col1_PH", Get Type(String))) dt.
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
Protected Sub Page_Load(By Val sender As Object, By Val e As System. Load If Not Is Post Back Then Show GV() End If End Sub Protected Sub gv Info_Row Editing(By Val sender As Object, By Val e As System.
New Edit Index Show GV() End Sub Protected Sub gv Info_Row Canceling Edit(By Val sender As Object, By Val e As System.
In this tutorial I will show you how you can create an editable Grid View control for administrators to modify database records directly into the Grid View control.
Editing the Grid View control can be an incredibly easy feature to add for certain database tables, especially those who have no foreign key associated and can easily be edited through the use of a standard Text Box web control as shown in the figure below: 1.