Tamer_Ahmed Posted July 25, 2004 Posted July 25, 2004 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 Quote
Administrators PlausiblyDamp Posted July 25, 2004 Administrators Posted July 25, 2004 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Tamer_Ahmed Posted July 25, 2004 Author Posted July 25, 2004 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 Quote
JABE Posted July 26, 2004 Posted July 26, 2004 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.