hi all, when I am in rowupdating event and get the object from templatefield, some of the textbox should be x but it show me x,x and dropdownlist it refresh with old value. Anyone face the same issue like me?
`
Private Sub Search_GridView_RowUpdating(sender As Object, e As GridViewUpdateEventArgs) Handles Search_GridView.RowUpdating
Dim row = Search_GridView.Rows(e.RowIndex)
Dim accountdate, payflow, member, ID As String
accountdate = CType(row.Cells(0).Controls(0), TextBox).Text
payflow = CType(row.FindControl("DDLPayFlow"), DropDownList).SelectedItem.Value
member = CType(row.FindControl("DDLMember"), DropDownList).SelectedItem.Value
ID = CType(row.Cells(12).Controls(0), TextBox).Text
End Sub
hi all, when I am in rowupdating event and get the object from templatefield, some of the textbox should be x but it show me x,x and dropdownlist it refresh with old value. Anyone face the same issue like me?
` Private Sub Search_GridView_RowUpdating(sender As Object, e As GridViewUpdateEventArgs) Handles Search_GridView.RowUpdating Dim row = Search_GridView.Rows(e.RowIndex)
`