combo box fill only selected item with C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

combo box fill only selected item with C#

If I write something in combobox that will not be submitted but only selected item should submitted in database how?

21st Apr 2017, 6:04 AM
Shovan Lal Saha
Shovan Lal Saha - avatar
1 Answer
+ 1
Please specify your issues, what kind of application is this? windows web or wpf? How you are doing the insertion? is that using `Text` property of the comboBox? then have you tried with `SelectedItem` instead for Text at the time of insertion?
21st Apr 2017, 6:26 AM
Sujith k sukumar
Sujith k sukumar - avatar