We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,703 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

C#: Real-time combobox updating

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

2
Contributors
1
Reply
3 Weeks
Discussion Span
10 Months Ago
Last Updated
2
Views
Question
Answered
GilbertB
Newbie Poster
18 posts since May 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
Question Self-Answered as of 11 Months Ago

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

ious
Newbie Poster
10 posts since Jun 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0577 seconds using 2.62MB