datagridview自动刷新 [英] datagridview to refresh automatically

查看:610
本文介绍了datagridview自动刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用c#-4.0 Windows应用程序.在这里我需要在添加新用户时自动刷新datagridview ...但是我的datagrid不会自动刷新...

Hi,
I am using c#-4.0 Windows application..here i need to refresh my datagridview automatically when i add a newuser...but my datagrid doesnt refresh automatically...

推荐答案

自动刷新是什么意思?您将需要为此编写代码.

每当您添加新用户时,都将其详细信息保存在某处.在此事件之后,编写代码以将数据与datagrid重新绑定.
What do you mean by refresh automatically? You would need to write code for that.

Whenever you add the new user, you will save details of it somewhere. After this event, write a code to re-bind the data with datagrid.


这篇关于datagridview自动刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆