Hi there;
I am a newbie in this forum and C#,I have programmed in VB6 but want to change my language to C# 2008,I need help to bind database in DAO.
also I don't know how to connect to data base.
please give me the syntax about Insert,Delete and other methods about binding and modify database in c#.
I use Access database as well.
Loading


kiran kumarRank #3,110 · 461 reputationPosted Feb 17, 2010, 8:15 PM EST
refer this www.csharp-station.com/Tutorials/AdoDotNet/Lesson01.aspx
Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 17, 2010, 9:27 PM EST
Here is the article that will guide you exactly what you want Insert/update/delete using ado.net with access database:
http://msdn.microsoft.com/en-us/library/ms971485.aspx
Don't forget to mark as answer if it helps.
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Feb 17, 2010, 10:45 PM EST
http://www.c-sharpcorner.com/UploadFile/mimrantaj/Database102102008130743PM/Database1.aspx
kiran kumarRank #3,110 · 461 reputationPosted Feb 21, 2010, 3:20 AM EST
Sam HobbsRank #107 · 20.5K reputationPosted Feb 21, 2010, 7:50 AM EST
You can start by creating a Forms application, then use the Server Explorer to connect to your Access database. Then use the Data Sources window to create a data source. Then just drag the data source to the form. You can create a form that shows the data and updates the data (including insert and delete) without writing any code. See Data Walkthroughs for some useful samples of what can be done. Some of the walkthroughs are relativley advanced, so do just the ones that are useful to you, in any order you want to. So the Walkthrough: Connecting to Data in an Access Database is most relevant for you.
paul daniel189 reputationPosted Feb 22, 2010, 2:49 AM EST
http://www.java2s.com/Code/CSharp/Database-ADO.net/IllustrateshowtoperformINSERTUPDATEandDELETEstatementsusingADONET.htm