Retrieve formview control value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Naive developer needs help. how to retrieve a dropdown value inside a
formview in VB? Is findcontrol the way to go? Thanks in advance.

Hugh
 
Not sure what you are asking. If you have a dropdown list on a form then
reference it:

Me.ddlMyList.SelectedValue
 
Jeff, I should make myself clearer. I have a webform with a fromview control
(FormView1) displaying a record. One of the controls inside the formview is a
dropdownlist and I'd like to use its value in VB. Me.ddlMyList.SelectedValue
would work if the dropdown is on the webform outside the formview.
Thanks
 
Back
Top