Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In window application i deleted the records according to combobox and data fetched from datasource but comboBox does not refresh or update it shows old record whenever i doesnot reload the form
Posted

Hi roxyraj,

If you have bind data to the ComboBox using DataAdapter and Dataset.
you need to refresh your dataSet every time you do any operation and then refill it using DataAdapter and then bind it to combobox.
 
Share this answer
 
v2
Hi roxyraj,
whenever you delete records from database at the same time you need to fetch updated records from database and bind the combobox again.
 
Share this answer
 

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