loading Dropdown with extra Item

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jacques van der zwan

    #1

    loading Dropdown with extra Item

    Hi, currently I load a combo with a field in a table,how can I add an
    extra item(hardcoded) in the combo with the current items.

    Thanxs


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Ravikanth[MVP]

    #2
    loading Dropdown with extra Item

    Hi

    After binding Combo, programatically just add one
    listitem.

    Ravikanth[MVP]

    [color=blue]
    >-----Original Message-----
    >Hi, currently I load a combo with a field in a table,how[/color]
    can I add an[color=blue]
    >extra item(hardcoded) in the combo with the current[/color]
    items.[color=blue]
    >
    >Thanxs
    >
    >
    >*** Sent via Developersdex http://www.developersdex.com[/color]
    ***[color=blue]
    >Don't just participate in USENET...get rewarded for it!
    >.
    >[/color]

    Comment

    • Jacques van der zwan

      #3
      Re: loading Dropdown with extra Item

      Hi

      I did it just after I loaded the combo.
      drpSelectCompan y.Items.Add("Al l");
      I want the Item "ALL" added.

      Thanx for your reply



      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Ramesh

        #4
        loading Dropdown with extra Item

        hi,
        Use Combo.Items.Ins ert(0,"All");

        Thanks,
        Ramesh
        [color=blue]
        >-----Original Message-----
        >Hi, currently I load a combo with a field in a table,how[/color]
        can I add an[color=blue]
        >extra item(hardcoded) in the combo with the current items.
        >
        >Thanxs
        >
        >
        >*** Sent via Developersdex http://www.developersdex.com[/color]
        ***[color=blue]
        >Don't just participate in USENET...get rewarded for it!
        >.
        >[/color]

        Comment

        Working...