获取,插入n更新表中的数据 [英] Get, Insert n Update data in table

查看:73
本文介绍了获取,插入n更新表中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



是否可以在不使用数据集的情况下从表中获取数据?目前我正在使用数据集来填充值并在需要时检索,但有时它会挂起并创建重复的主键。所以我的朋友建议我使用Get,Insert和Update语句。任何人都知道这个链接?网站或教程或者我学习新方法的东西?

Hi all,

Is it possible to get data from table without using dataset? Currently I''m using dataset to fill the value and retrieve whenever i need but sometimes it hang and create duplicate primary key. So my friend suggest me by using Get,Insert & Update statement..anyone know the link to this? website or tutorial or something for me to learn new way?

推荐答案

听起来像糟糕的桌面设计。要避免重复主键,请将此列设置为 autonumber 。请遵循以下说明: http:// office。 microsoft.com/en-001/access-help/create-or-remove-a-primary-key-HA010014099.aspx [ ^ ]

要获得更多有关MS Access数据库设计的信息,请阅读: http:// office。 microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx [ ^ ]
Sounds like bad table design. To avoid duplicates in primary key, set this column as autonumber. Follow these instructions: http://office.microsoft.com/en-001/access-help/create-or-remove-a-primary-key-HA010014099.aspx[^]
To get more information about MS Access database design, read this: http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx[^]


这篇关于获取,插入n更新表中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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