update the items in controls after inserting new records into data base


i got a combo box and datagridview in my form and few other controls (to insert new record into my database),after the insertion is succcesful i want the inserted item to be displayed in my combo box and gridview by then only (i.e without restarting the project) could u please help me out..


You could use a BindingSource with the DataGridView. Then when your records are inserted successfully call the ResetBindings() Method. Click Here

Add the item to the Combox Items List.

This article has been dead for over six months: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: