Click here to Skip to main content
15,891,621 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I just need solution for Combo Box control. Basically I have binded Combo Box with database and at run time it displays first index value but my need is it should display blank value at run time and user can get all values on clicking in Combo Box.

Database:- I am having department tables with depid column what is given primary key of integer type.Since it there is primary key which avoids of null value.

If I use combo box without binding in database and just give all values thorough manually in visual studio then it can be solved.

It would be better if you provide me better solution.


Thanks and Regards,
Ravindra Bisht
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900