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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top