Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Add an empty item to bound combobox

$
0
0
I have a combobox and I bind it to a DataTable. I want it to have an empty item but I can't Add it. Isn't there a way to do this with reflection or with some other technique?

I can't add an empty row to the data table, because I have int columns and the empty item I want to add is a string.

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>