如何在不退出程序的情况下刷新数据网格视图以显示新插入的记录 [英] How do i refresh the data grid view to show the newly inserted record without exiting the program

查看:51
本文介绍了如何在不退出程序的情况下刷新数据网格视图以显示新插入的记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在向数据库输入数据后,我应该使用什么编码来查看运行时datagridview中的更改。我正在使用带有access2003的Vb8



我如何刷新数据网格视图以显示新插入的记录而不退出程序

After inputting data to the database ,what coding should i use to see the changes in the datagridview at runtime .I am using Vb8 with access2003

How do i refresh the data grid view to show the newly inserted record without exiting the program

推荐答案

与第一次填充网格时完全相同。连接到数据库,查询数据,并将网格绑定到它!
The very same way to did it the first time you populated the grid. Connect to the database, query for the data, and bind the grid to it!


这篇关于如何在不退出程序的情况下刷新数据网格视图以显示新插入的记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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