SaturnSeven
Programmer
I have managed to loop through all Drop Down Lists on my aspx page, but I need to get the Selected Value of each by using the control reference in the loop.
For Each cntrl As Control In Form.Controls
If TypeOf cntrl Is DropDownList Then
lblResults.Text &= cntrl.ClientID & " " & "<br />"
lblResults.text &= ???cntrl.SelectedValue???
End If
Next
Any help/advise greatly apreciated
For Each cntrl As Control In Form.Controls
If TypeOf cntrl Is DropDownList Then
lblResults.Text &= cntrl.ClientID & " " & "<br />"
lblResults.text &= ???cntrl.SelectedValue???
End If
Next
Any help/advise greatly apreciated