Question Retrieving the selected dropdown item in a web service

jj.may

New member
Joined
Jan 3, 2011
Messages
1
Programming Experience
Beginner
Hey all,

I’m new to this game and have come across a problem.
Basically I want to retrieve the selected dropdown item... Simple in the code behind file:

dim currItem
currItem = ItemDropDown.SelectedValue


However I now want to move this across to a web service and have got stuck as the code displayed above doesn’t work in a WebMethod. (Because it cannot find the ItemDropDown)

Any ideas on how I can reference the dropdown from a WebMethod? So I can store the value in a variable in the web service.

Any help will be appreciated.


Thanks
JJ.May
 
Back
Top