Visual Studio 2003 --> 2002 (not a member of..)

A

Amit Chandel

I'm recompiling a VS2003 project in VS2002 (3rd party code, we still use
VS2002 and cannot upgrade at this time). I've managed to reverse engineer
all of the code except for the following instance, where I get an error :

'SelectedValue' is not a member of System.Web.UI.WebControls.DropDownList'

Is there a way to do this in VS2002 on .NET 1.0 framework? All I see is
DropDownList.SelectedItem as an option.

Thanks In Advance,
Amit.
 
A

Anthony Williams

Amit said:
'SelectedValue' is not a member of System.Web.UI.WebControls.DropDownList'

This was added in .NET 1.1
Is there a way to do this in VS2002 on .NET 1.0 framework? All I see is
DropDownList.SelectedItem as an option.

DropDownList.Items(DropDownList.SelectedIndex).Value
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top