D
David C
I want to put the current value of a control on the GridView line being
edited in order to use in a later process. Below is the RowEditing event.
Sub SubfilesGridView_RowEditing(ByVal sender As Object, ByVal e As
GridViewEditEventArgs)
' Get the seq# for the row being edited.
' SeqNo is contained in the 2nd column (index 1).
Dim strseqno As String = SubfilesGridView.Rows(e.NewEditIndex).Cells(1).Text
'Put old seqno into form field
txtMsg.Text = ""
txtOldValue.Text = strseqno
End Sub
When this event triggers, the txtOldValue.Text is empty. Thanks.
David
edited in order to use in a later process. Below is the RowEditing event.
Sub SubfilesGridView_RowEditing(ByVal sender As Object, ByVal e As
GridViewEditEventArgs)
' Get the seq# for the row being edited.
' SeqNo is contained in the 2nd column (index 1).
Dim strseqno As String = SubfilesGridView.Rows(e.NewEditIndex).Cells(1).Text
'Put old seqno into form field
txtMsg.Text = ""
txtOldValue.Text = strseqno
End Sub
When this event triggers, the txtOldValue.Text is empty. Thanks.
David