After browsing several forum sites I found so many programmers having problem with ComboBox after they bind it to a DataSet.
The problem actually is not cause by a bug or the like. The error is caused by design. Here’s the following question on the internet that I found that will explain this error further:
Both programmers encounter this problem and unable to move the focus from the said ComboBox.
Here’s an example of the data bound ComboBox.
As you can see the properties are set correctly. But if you move the Status field from a DataSet to your windows form the ComboBox is bound by default using a Text property as shown below.
In this case all you have to do is set the Text property to “(none)”. See screenshot below for the correct settings.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.