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. Advertisements

  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. Advertisements

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. Bootstrap Bill

    Visual Studio .net 2003 and Frotpage 2003

    Bootstrap Bill, Sep 12, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    758
    Bootstrap Bill
    Sep 17, 2004
  2. 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:
    619
    =?iso-8859-1?Q?Carlos_M_P=E9rez?=
    Aug 6, 2003
  3. wh
    Replies:
    2
    Views:
    857
    Cowboy \(Gregory A. Beamer\)
    Jan 16, 2004
  4. Mad Scientist Jr

    visual studio 2002 not recognizing framework 1.1

    Mad Scientist Jr, Mar 1, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    630
    Patrice Scribe
    Mar 1, 2004
  5. Steven Cheng[MSFT]

    RE: Visual Studio.net 2002 Debugger not working

    Steven Cheng[MSFT], May 21, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    709
    Steven Cheng[MSFT]
    May 25, 2004
  6. laks
    Replies:
    0
    Views:
    543
  7. rockdale
    Replies:
    1
    Views:
    925
    Juan T. Llibre
    Aug 23, 2006
  8. xman
    Replies:
    1
    Views:
    888
    Victor Bazarov
    Aug 17, 2005
Loading...