Click here to Skip to main content
15,917,061 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to do datagridview in auto-refresh mode..
or refresh after value selected , updated, inserted etc


plz help
Posted
Updated 17-Aug-13 19:18pm
v2
Comments
Sergey Alexandrovich Kryukov 18-Aug-13 3:10am    
Wow! You don't even credit ASP.NET for being "software"? That's pretty tough.
—SA
Sergey Alexandrovich Kryukov 18-Aug-13 3:09am    
What makes you thinking that this control needs refresh at all? On all these operations, the control if properly invalidated and shows correct data. What do you think the properties are for? To cause appropriate side effect. If you managed to get rendering of the control not correctly reflecting your data, it means that you screwed up something. What? Sorry, I'm getting ready for my vacation, so my access to your hard drive is currently somewhat limited.
—SA

1 solution

Its better if you reload or call the Bind() method at all those events that you want to refresh the gridview.

For Example if something is Inserted you can simply reload the gridview.
 
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