How to Refresh GridView in C#.Net Windows Form?
I'm trying to Refresh GridView after data inserted. In ASP.Net GridView1.DataBind().That's work. But I don't know how to do that in C#.Net Windows Form. Please 开发者_高级运维answer me if you know. Thanks.
Does this works
GridView1.Invalidate();
Check this Control.Invalidate Method
I don't know what you bind your grid to, but you could always repeat the binding by re-setting the DataSource property
精彩评论