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

  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. 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. Sandeep Grover

    delete on delete !

    Sandeep Grover, Jul 12, 2003, in forum: C++
    Replies:
    19
    Views:
    658
    Chris \( Val \)
    Jul 22, 2003
  2. HeroOfSpielburg
    Replies:
    1
    Views:
    412
    Alf P. Steinbach
    Aug 6, 2003
  3. 0to60
    Replies:
    4
    Views:
    325
    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:
    3,875
    Mathieu Malaterre
    Aug 17, 2004
  5. S_K
    Replies:
    5
    Views:
    801
    Eliyahu Goldin
    Nov 14, 2007
Loading...

Share This Page