Question Retrieving the value from database and selecting the combobox


New member
Jan 9, 2012
Programming Experience
I am working on a small concept but since i am a novice in .net i am not getting the concept.
I have 2 controls on the page.
1st is Text Box: User enters the int value and that value is checked from database.
In database there are 3 fields. One for ID, second for int value and 3rd for country.
If the text box value in database is associated with country US then it should show US in 2nd control ( can be text box or combo box) in UI. Else for anything else it should show London.
Kindly suggest the concept with some code.
Thank you.
Top Bottom