I'm making a search engine windows app that contains ComboBoxes that are bound to my SQL Server database. It would be so much better that once my ComboBox is bound that I could have no item selected (so a blank) incase they don't want to include that in their search but I can't seem to do that without putting in a blank record in my database and that seem soooooo wrong.
The only answer I can think of is maybe populate an RA with the data leaving index[0] a blank and then binding to the RA. But I don't even know if I can bind to an RA. If anyone thinks this is a good idea I'd love a code example.
If anyone has any ideas, workarounds or just a simple answer that I've missed, it would be greatly appreciated. I know the solution is out there but I'm too new to this to know what it might be.
Thanks in advance.
Martin