Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello everyone
How can i refresh my GUI application?
example : i want to refresh my combobox data when i insert a record in database, suppose that i have many windows in my GUI application and i want to add a record from the first window, and the combobox in the other window should read the update data
Posted
Comments
Maciej Los 8-May-14 16:16pm    
What have you done? Where are you stuck?
Xiao Ling 9-May-14 2:22am    
You just need to reload the data, and invalidate your UI component.

1 solution

The datasource for a control remains binded so try setting the datasource for the combobox to null and re-setting the datasource again...

Hope that helps!
SS
 
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