Combobox value is not displaying after selection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajswain
    New Member
    • Jun 2007
    • 1

    Combobox value is not displaying after selection

    i have taken a combo box and sets the property c
    omboBox1.DropDo wnStyle = ComboBoxStyle.S imple; at run time.
    autocomplete mode:SuggestApp end
    autocompletesou rce:List items

    i have taken some items collection in design time

    bt at running tme after the selection of value that value is not displaying in the combo.

    plz help me in dis regard
    Thanx
  • gurusshetty
    New Member
    • Mar 2007
    • 11

    #2
    Originally posted by pankajswain
    i have taken a combo box and sets the property c
    omboBox1.DropDo wnStyle = ComboBoxStyle.S imple; at run time.
    autocomplete mode:SuggestApp end
    autocompletesou rce:List items

    i have taken some items collection in design time

    bt at running tme after the selection of value that value is not displaying in the combo.

    plz help me in dis regard
    Thanx
    Hi Pankaj

    Assign following properties to your combobox
    Assign data source
    comboBox1.DataS ource = Your Data source name
    comboBox1.Displ ayMember = Your Data Source Column name which you want to display.
    comboBox1.Value Member = Your Data Source Column name whose value you wants to store in your combobox.

    Regards,

    Guru

    Comment

    Working...