Goal:
Once clicking on add or delete button, the datagridview should be refreshed with the latest data from document.
Problem:
The datagridview can't be refreshed after making changes by deleting or adding new data.
I'm using binding source that is linked with datagridview's datasource.
I tried everything with different solution and read advise from different forum but still I can't solve this problem.
I also tried using these syntax "BindingSource.ResetBindings(false)", "BindingSource.Refresh()" etc but no result.
Links below:
http://stackoverflow.com/questions/2348593/how-to-refresh-a-bindingsource
http://www.eggheadcafe.com/community/aspnet/2/10114324/datagridview-refresh-from-another-form.aspx
http://blogs.msdn.com/b/dchandnani/archive/2005/03/15/396387.aspx
http://bytes.com/topic/c-sharp/answers/812061-problem-refresh-datagridview
Sam HobbsPosted Mar 16, 2011, 9:00 PM
Suthish NairPosted Mar 16, 2011, 3:00 PM
Hope Sam articles helped you. If resolved mark the post as Answer.
Another article: DataGridView - Insert, Update, Delete and Retrieve records using stored procedure
Sam HobbsPosted Mar 14, 2011, 7:00 PM
Have a look at my Database Table Update in a DataGridView without Writing Code. I think that will get you going in a more relevant direction.