c# - check if this combobox contain a specific -
cbxitem = new dictionary<string, string>(); cbxitem.add("all", "all"); cbxitem.add("s", "s"); cbxitem.add("h", "h"); cbxitem.add("r", "r"); cbxitem.add("c", "c"); cbxitem.add("w", "w"); combobox.datasource = new bindingsource(cbxitem, null); combobox.displaymember = "key"; combobox.valuemember = "value";
user input text in combobox autocomplete. if combobox doesn't contain value user input, show message warn user. problem don't how check if combobox contain specific value user input in combobox. please advice? thank in advance.
Comments
Post a Comment