如何在VB.net 2008中从Access 2007数据库更新和删除记录? [英] How to update and delete records from Access 2007 database in VB.net 2008?

查看:143
本文介绍了如何在VB.net 2008中从Access 2007数据库更新和删除记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从Access 2007数据库中插入,更新和删除vb.net 2008中的记录?

真的,我知道如何添加记录-但我无法删除或更新记录.还有指针,网站教程等吗?

我还将数据库表绑定到正在运行的Listbox,但是我也需要通过删除来更新列表框并更新更改....有任何帮助吗?

How do I insert,update,and delete records in vb.net 2008 from a Access 2007 database?

Really, I figured out how to add records - but I cannot delete or update records. Any pointers, website tutorials, etc?

Also, I am binding the database table to Listbox which is working, but I need to update the listbox with deletion and update changes too...    Any help?

推荐答案

.Free_Password_SafeDataSet.Tables( 网站" ).Rows(0).Delete()

我已经尝试过-但它不会更新listbox1数据绑定到数据库.

还有其他想法吗?

Me.Free_Password_SafeDataSet.Tables("Website").Rows(0).Delete()

I've tried this - but it does not update the listbox1 data that is binded to the database.

Any other ideas?        


这篇关于如何在VB.net 2008中从Access 2007数据库更新和删除记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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