Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,,,,

I have created an exe file with vb6.0. In a dropdown box it will show all the cities names, but when i will go back to the database and add or remove any cities and comes back to an exe then the cities are not updating in a dropdown box.

Please help me to solve this problem.
Posted
Comments
DaveAuld 27-Oct-12 7:15am    
You need to perform some sort of refresh to repopulate the dropdown list. Now as this in VB6, you are on your own!
Sandeep Mewara 27-Oct-12 15:09pm    
Sounds like you are not hitting database to get cities on every load of form.
PRAKASH_N 29-Oct-12 0:54am    
No...i wrote a code for Dropdown which has to post back on every event. But still it is not updating....
Is there any other solution. .?
ZurdoDev 29-Oct-12 15:29pm    
You mentioned postback. Does this this is ASP.Net?
PRAKASH_N 30-Oct-12 4:15am    
No it's Vb only....

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