combobox add "--select" after populated by datasource

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wu

    combobox add "--select" after populated by datasource

    Hello,
    I can not add a new items to combobox after the datasource was loaded.

    I usually do item.add(0,"--select") for dropdownlist at asp.net but it does
    not allow in window application in combobox.

    Please advice.

    Wu


  • Nathan Sokalski

    #2
    Re: combobox add "--select" after populated by datasource

    I have done pretty much all of my development in ASP.NET, but what happens
    if you add to the datasource (I'm assuming a DataTable object?) before
    loading it? Also, what happens if you individually add your "--select" item
    to the combobox before loading the datasource? These are the best
    suggestions I can come up with for you, since I have not really done any
    development other than ASP.NET.
    --
    Nathan Sokalski
    njsokalski@hotm ail.com
    有声小说网为广大读者提供热门小说在线免费阅读,本站收集的网络文学小说情节跌宕起伏,有声小说网是值得书友们收藏的小说在线阅读网。


    "Wu" <wuchunwai@gmai l.comwrote in message
    news:uB9Z3QxHJH A.2272@TK2MSFTN GP04.phx.gbl...
    Hello,
    I can not add a new items to combobox after the datasource was loaded.
    >
    I usually do item.add(0,"--select") for dropdownlist at asp.net but it
    does
    not allow in window application in combobox.
    >
    Please advice.
    >
    Wu
    >

    Comment

    Working...