DropDownList problem

Discussion in 'ASP.NET / ASP.NET Core' started by steurm, Dec 26, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. use the insert item method of the dropdownlist:


    MyDDL.Items.Insert(0, new ListItem("[my text]","[my value]"));


    --
    Steurm
    www.steurm.net/steurm
    [​IMG]
     
  2. I assigned a datasource to a DropDownList, but I want to add an item to this DropDownList and I want this item to be the first one. How can I do that?
     
  3. Got that, thank you.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page