Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
hi every one ListBox and comboBox Controls implement the same interfaces ICollection and IList so what's the different between them is it just the way of viewing the data or there's another different
  • Administrators
Posted
Just the way the data is presented, a combobox takes up less screen area until you select the drop down. Also combo boxes can allow you to type values not contained in the list itself but a listbox always restricts you to the values provided.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

hi Thanks for answering me i didn't understand this part

 

combo boxes can allow you to type values not contained in the list itself but a listbox always restricts you to the values provided

Posted
It's because you can't type a value directly in a listbox but can only select value(s) from the list. On the other hand, you can type an arbitrary value in a combobox, provided its DropDownStyle is not set to DropDownList.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...