Add data to the database using ADO
Tools Used : Visual C# .NET
This program shows how to insert data in an access database using ADO and SQL query. I have an Access 2000 database in projectindebug directory. My database name is mcTest.MDB. You can create your own database and copy in your project's debug directory. I am not attaching database with this code because of size problem.
I have a table 'Developer' in this database which has four columns. I am inserting values into two columns Name and Address in thi...[ 查看全文 ]