访问查询以进行插入,删除和处理更新 [英] Access query to insert,delete & update

查看:65
本文介绍了访问查询以进行插入,删除和处理更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2008和MS Access2007作为数据库.我不知道如何使用c#进行插入,更新,编辑和删除.

i m using visual studio 2008 and MS Access2007 as database.i dont know how to insert,update,edit and delete using c#.

推荐答案

您好,
您需要使用ADO.Net.例如,您需要OleDbCommand和OleDbConnection才能连接到ACCESS并运行命令.请看以下页面中的示例:

http://www.c-sharpcorner.com /uploadfile/puranindia/ado-net-application-using-ms-access-2007-database/ [
Hi,
you need to use ADO.Net. For instance,you need OleDbCommand, and OleDbConnection in order to connect to ACCESS and run commands. Take a look at these page for samples:

http://www.c-sharpcorner.com/uploadfile/puranindia/ado-net-application-using-ms-access-2007-database/[^]

Cheers.


这篇关于访问查询以进行插入,删除和处理更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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