Click here to Skip to main content
16,017,852 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hello ,
I have main form that contains datagridview to show database tables by function called "showData" ,If I open another form and change something in the database my datagridview does not show the changes.
I have to re-run the application to see the changes !
what I have to do to solve this ? I tried to use Threads and delegates but ... nothing changed ://
Posted
Comments
CHill60 16-Nov-13 17:49pm    
Can you confirm how the datagridview is bound to the table changed?
You probably aren't refreshing the dataset after the change
ZurdoDev 16-Nov-13 21:23pm    
Just rebind the datagridview.
member 8888995 16-Nov-13 23:45pm    
Refresh the dataset and rebind it to grid. Please paste your code.
[no name] 21-Dec-15 11:49am    
Show us the code how you bind data to gridview control

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