数据源= |数据目录| \ test.mdb的问题 [英] Problem with Data Source=|Data Directory|\test.mdb

查看:76
本文介绍了数据源= |数据目录| \ test.mdb的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vb.net和ms-access创建一个项目.我使用datagridview它的数据源自动检测|数据目录| \ test.mdb,test.mdb是我的数据库名称
我在代码中使用了相同的数据源,但未更新数据库.

I am creating a project using vb.net and ms-access. i used datagridview it''s data source detect automatically |Data Directory|\test.mdb, test.mdb is my database name
i used same data source in code but it not update database. Please help me guys.

推荐答案

请注意,每次编译代码或在可视stdio中运行代码时,请注意.您的数据库将被复制到数据目录
因此当您重新启动应用程序时我看不到更新;
如果您单独运行应用程序,则无效
Please note the every time you compile your code or run it inside the visual stdio; your database will be copied to the data directory
so i cant see the updates when you restart your application;
this is has no effect if you run your application as stand alone


这篇关于数据源= |数据目录| \ test.mdb的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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