Hi, I am wondering why I have this error after deployment to production server.
Compiler Error Message: BC30456: 'SelectedItem' is not a member of 'dropdownlist'.
Line 50: Dim item As ListViewItem = lvEnquiryManage.Items(lvEnquiryManage.EditIndex)
Line 51: Dim list As DropDownList = CType(item.FindControl("ddlStatus"), DropDownList)
Line 52: Dim txtStatus As String = list.SelectedItem.Value
Line 53:
Line 54: Dim strQuery As String = "UPDATE Student SET Status = @Status WHERE StudentGUID = @StudentGUID"
When run locally, there is not error. How do I troubleshoot this?
Print screen when run locally as below
Go to the complete details ...