I have this form connected with SQL server :

http://img171.imageshack.us/img171/7423/692012101827pm.png

is there any way that when I enter a new company and press save icon, the combobox will update automatically ?

Thanks

is there any way that when I enter a new company and press save icon, the combobox will update automatically ?

simplest way to do it is:
in the click event of the save button repopulate the combobox
or you could check if the datasource has changed and if it has repopulate

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.