DropDownList Delete all

Discussion in 'ASP .Net Web Controls' started by news.microsoft.com, Oct 28, 2003.

  1. I can't believe there is not an easy way to just delete a list box so it can
    be refilled in C#?

    Mick
     
    news.microsoft.com, Oct 28, 2003
    #1
    1. Advertisements

  2. news.microsoft.com

    Wesam Guest

    DropDown1.Items.Clear();

    This should work ...

    We$am

    "news.microsoft.com" <> wrote in message
    news:...
    > I can't believe there is not an easy way to just delete a list box so it

    can
    > be refilled in C#?
    >
    > Mick
    >
    >
     
    Wesam, Oct 29, 2003
    #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. Sandeep Grover

    delete on delete !

    Sandeep Grover, Jul 12, 2003, in forum: C++
    Replies:
    19
    Views:
    909
    Chris \( Val \)
    Jul 22, 2003
  2. HeroOfSpielburg
    Replies:
    1
    Views:
    547
    Alf P. Steinbach
    Aug 6, 2003
  3. 0to60
    Replies:
    4
    Views:
    442
    Jerry Coffin
    Dec 19, 2003
  4. Mathieu Malaterre

    delete NULL, what about delete[] NULL

    Mathieu Malaterre, Aug 17, 2004, in forum: C++
    Replies:
    2
    Views:
    4,065
    Mathieu Malaterre
    Aug 17, 2004
  5. Jef Driesen
    Replies:
    1
    Views:
    717
    Gernot Frisch
    Jan 19, 2005
  6. DamonChong
    Replies:
    11
    Views:
    794
    msalters
    Jan 31, 2005
  7. Amy
    Replies:
    13
    Views:
    6,292
    Kurt Stutsman
    Feb 23, 2005
  8. S_K
    Replies:
    5
    Views:
    960
    Eliyahu Goldin
    Nov 14, 2007
Loading...