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

  • Thread starter Thread starter Amit Chandel
  • Start date Start date
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.
 
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
 
Back
Top