我如何在C#中搜索,删除,更新并插入Access数据库 [英] how can i search ,delet ,update and insert into access database in c#
本文介绍了我如何在C#中搜索,删除,更新并插入Access数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您的数据库将是
ID
dnasequence
p名称
地址
我该如何搜索,删除,更新并插入
在access
thee database will be
ID
dnasequence
p-name
address
how can i do the search ,delete , update and insert into
to this database in access
推荐答案
中访问此数据库 为此,您需要使用OleDbConnection,OleDbCommand.看看这些帖子:
http://www. daniweb.com/software-development/csharp/threads/94800/insertingdeletingupdating-and-editing-records-to-a-ms-access-database [在C#窗口应用程序中的Access数据库中插入删除更新值破坏示例 [ ^ ]
http://social.msdn.microsoft.com/论坛/en-US/csharpide/thread/ce4bdc40-6955-4e06-a7a5-41ae5135027a [ http://social.msdn.microsoft.com/Forums/zh/csharplanguage/thread/8db841fc-ffa7-4519-b6f5-d054c7190948 [
Hi,
You need to use OleDbConnection, OleDbCommand in order to do that. Take a look at these posts:
http://www.daniweb.com/software-development/csharp/threads/94800/insertingdeletingupdating-and-editing-records-to-a-ms-access-database[^]
insert delete update value in access database in C# window application any ruining example[^]
http://social.msdn.microsoft.com/forums/en-US/csharpide/thread/ce4bdc40-6955-4e06-a7a5-41ae5135027a[^]
http://social.msdn.microsoft.com/Forums/en/csharplanguage/thread/8db841fc-ffa7-4519-b6f5-d054c7190948[^]
I hope it helps,
Cheers
这是插入/更新和删除的简单文章:
www.codeproject.com/Articles/24085/Insert-Update-Delete-with-Gridview-简单方式
请参阅本文进行搜索:
www.codeproject.com/Articles/43018/ASP-NET-GridView-with-search- option-SearchableGrid
Hi,
Here is a simple article to Insert/Update and Delete :
www.codeproject.com/Articles/24085/Insert-Update-Delete-with-Gridview-simple-way
Refer to this article for searching :
www.codeproject.com/Articles/43018/ASP-NET-GridView-with-search-option-SearchableGrid
这篇关于我如何在C#中搜索,删除,更新并插入Access数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文