Event rowupdating which wasn t
Copy() View State("original Values Data Table") = original Data Table table Copied = True End If End If End Sub Protected Sub Up_Click(By Val sender As Object, By Val e As Event Args) Handles Up. Row Index, False) Next ' Rebind the Grid to repopulate the original values table. Data Bind() End Sub Protected Function Is Row Modified(By Val r As Grid View Row) As Boolean Dim current ID As Integer Dim current Project As String Dim current Description As String Dim current CAPEX As String current ID = Convert.
Format("ID = ", current ID))(0) If Not current Project. To String()) Then Return True If Not current Description. To String()) Then Return True If Not current CAPEX.
Data Row Then If Not table Copied Then original Data Table = CType(e.
Click original Data Table = CType(View State("original Values Data Table"), System. Data Table) For Each r As Grid View Row In Grid View1.
I don't know why dynamically binding the Gridview would cause an error in rowupdating.
Now you can ask questions directly to me on my new site ASPForums.
Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries.
Can anyone help me take a look at the below coding and give me some pointer to solve the problem thanks.
In the example in the book, this would make all columns in the Grid View sortable.