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

Discussion in 'ASP .Net' started by Amit Chandel, Feb 17, 2004.

  1. Amit Chandel

    Amit Chandel Guest

    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 Chandel, Feb 17, 2004
    #1
    1. Advertising

  2. Amit Chandel wrote:

    > '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

    --

    Anthony Williams
    BigTone Interactive
    http://www.bigtone.net
     
    Anthony Williams, Feb 17, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. José Ramón Rodríguez

    Visual Studio .NET 2002 and .NET Server 2003

    José Ramón Rodríguez, Jul 25, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    505
    =?iso-8859-1?Q?Carlos_M_P=E9rez?=
    Aug 6, 2003
  2. wh
    Replies:
    2
    Views:
    540
    Cowboy \(Gregory A. Beamer\)
    Jan 16, 2004
  3. rockdale
    Replies:
    1
    Views:
    625
    Juan T. Llibre
    Aug 23, 2006
  4. xman
    Replies:
    0
    Views:
    526
  5. xman
    Replies:
    1
    Views:
    622
    Victor Bazarov
    Aug 17, 2005
Loading...

Share This Page