当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO演示

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO 中的 ADO演示


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 1103 ::
收藏到网摘: n/a

To demonstrate a small real life ADO application, we have put together a few ADO demos.
我们已经举了一部分ADO的例子演示了ADO应用程序是如何工作的


Read this First
请先阅读下面的信息

If you try to update the database, you will get the error message: "You do not have permission to update this database". You get this error because you don't have write access to our server.
如果你试图更新数据库,那么你会收到下面这条错误信息:"You do not have permission to update this database"[你没有更新数据库的权限]。如果你收到了上述信息说明你没用在获取服务器的“写入”权限。

BUT, if you copy the code and run it on your own system, you might get the same error. That is because the system might see you as an anonymous internet user when you access the file via your browser. In that case, you have to change the access-rights to get access to the file.
然而,如果你你将这个代码复制下来并在你自己的系统中运行时,你可能会获取与上述相同的错误。这是因为当你通过浏览器访问系统时,它可能也把你当成匿名访问用户了。在这种情况下,你必须更改访问权限来获取文件的访问权。

How to change the access-rights of your Access database?
如何在Access数据库中更改访问权限?

Open Windows Explorer, find the .mdb file. Right-click on the .mdb file and select Properties. Go to the Security tab and set the access-rights here.
打开Windows浏览器[Explorer],找到“.mdb”文件。右键单击“.mdb”文件,然后选择“属性[Properties]”。点击“安全[Security]”选项卡,然后你可以在里面进行权限设置。


List, Edit, Update, and Delete Database Records
罗列、编辑、更新以及删除数据库中的记录

List, edit, update, and delete database records
罗列、编辑、更新以及删除数据库中的记录


Add a New Record to a Database
向数据库中添加一条新的记录

Add a new record
添加一条新记录

评论 (0) All

登陆 | 还没注册?