开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜