我们必须为刷新按钮编码,以便在插入数据后刷新数据网格视图中的数据 [英] what we have to code for refresh button for refreshing data in data gridview after inserting data

查看:55
本文介绍了我们必须为刷新按钮编码,以便在插入数据后刷新数据网格视图中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在sql数据库表中插入数据并获取n网格视图

what we have to code for refresh button for refreshing data in data gridview after inserting data in sql data base table and get n grid view

推荐答案

之后,我们必须为刷新按钮编码以刷新数据按下按钮点击的事件中的gridview方法,



just call the following methods of gridview in your button's clicked event,


Gridview1.Bind( );



就是这样......

Gridview1.Bind();

thats it....


这篇关于我们必须为刷新按钮编码,以便在插入数据后刷新数据网格视图中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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