470,586 Members | 1,346 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,586 developers. It's quick & easy.

Retrieve formview control value

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
Nov 20 '06 #1
2 2583
Not sure what you are asking. If you have a dropdown list on a form then
reference it:

Me.ddlMyList.SelectedValue

"Hugh" <Hu**@discussions.microsoft.comwrote in message
news:BB**********************************@microsof t.com...
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

Nov 21 '06 #2
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

"Jeff Allan" wrote:
Not sure what you are asking. If you have a dropdown list on a form then
reference it:

Me.ddlMyList.SelectedValue

"Hugh" <Hu**@discussions.microsoft.comwrote in message
news:BB**********************************@microsof t.com...
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


Nov 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by P. Yanzick | last post: by
1 post views Thread by sck10 | last post: by
3 posts views Thread by Jurgen Appelo | last post: by
2 posts views Thread by Tim | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.