使用向导创建连接时如何更新Access数据库源 [英] how to update access database source , when using wizard to create connection

查看:121
本文介绍了使用向导创建连接时如何更新Access数据库源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用此命令向数据库添加名称时,我只会更新datagridview

when i use this orders to add a name to my data base i just update datagridview

oleDbDataAdapter1.Fill(dataSet11);
oleDbConnection1.Close();




如何更新我的资源
以及我如何在数据库中进行搜索




how can update my resource
and how i doing search in my database

推荐答案

我假设您是说,当您更新gridview时,它并没有更新Access数据库. >
请参见此处:第10章:继续向数据库提交更新 [
I assume you are saying that when you update the gridview, it''s not updating the Access database.

See here: Chapter 10: Submitting Updates to Your Database continued[^]

if that doesn''t work, you may have to set up the TableMappings.


这篇关于使用向导创建连接时如何更新Access数据库源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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