DropDownList from database and extra field

Discussion in 'ASP .Net' started by Piotrek \Alchemik\, Sep 7, 2006.

  1. Hello,

    i'm trying to create dropdownlist which will include not only fields
    from database binding, but would have an extra one or two fields, which
    could let me choose something different, i.e. all fields or anything else.
    Maybe somebody know what i should be looking for?
    Thanks in advance

    Piotrek
    Piotrek \Alchemik\, Sep 7, 2006
    #1
    1. Advertising

  2. Piotrek \Alchemik\

    Mark Rae Guest

    "Piotrek "Alchemik"" <> wrote in message
    news:edq1ur$n3i$...

    > i'm trying to create dropdownlist which will include not only fields from
    > database binding, but would have an extra one or two fields, which could
    > let me choose something different, i.e. all fields or anything else.
    > Maybe somebody know what i should be looking for?
    > Thanks in advance


    <DropDownListObject>.Items.Insert(0, new ListItem("", "0"));
    Mark Rae, Sep 7, 2006
    #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. savvy
    Replies:
    1
    Views:
    477
    Cowboy \(Gregory A. Beamer\)
    Jun 28, 2006
  2. Mark Rae
    Replies:
    5
    Views:
    5,327
    Mark Rae
    Jan 12, 2007
  3. mathieu
    Replies:
    3
    Views:
    583
    Bo Persson
    Sep 4, 2009
  4. Sound
    Replies:
    2
    Views:
    430
    Randy Webb
    Sep 28, 2006
  5. jr
    Replies:
    3
    Views:
    408
Loading...

Share This Page