Insert data into Access using ADO 
Author Message
 Insert data into Access using ADO

Hiz,

Eg.

int i;
i = 100;

How can i insert data using i = 100 into Access database?

With the condition of using ADO and Visual C++;



Sat, 29 Jan 2005 10:59:27 GMT  
 Insert data into Access using ADO
Warz

see response to previous - it has inserts into access (jet) database using
ado.

regards
roy fine


Quote:
> Hiz,

> Eg.

> int i;
> i = 100;

> How can i insert data using i = 100 into Access database?

> With the condition of using ADO and visual c++;



Sat, 29 Jan 2005 21:01:35 GMT  
 Insert data into Access using ADO
1. You can use the AddNew method of ADO to insert a record into a table.
For more details, please refer to:
Title: AddNew Method Example (VC++)
URL: http://msdn.microsoft.com/library/en-us/ado270/htm/mdmthaddnewxvc.asp

2. You can use the Execute method when run from both a Command object and a
Connection object.  Please refer to:
Title: Execute, Requery, and Clear Methods Example (VC++)
URL: http://msdn.microsoft.com/library/en-us/ado270/htm/mdmthexecutexvc.asp



Mon, 31 Jan 2005 16:41:49 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Insert blob data into oracle using ADO

2. Using sql to insert data into Access database

3. Insert data into Access database using sql

4. Using ADO for SQL Server data access

5. Copy Excel data into Access database using ADO for Visual C++

6. Using ADO for SQL Server data access

7. Using ADO for SQL Server data access

8. Using ADO for SQL Server data access

9. Error Accessing MS-Access using ADO..

10. Using ADO with CADORecordBinding for accessing an Microsoft Access

11. Not able to insert Milliseconds using ADO

12. Inserting a NULL using ADO

 

 
Powered by phpBB® Forum Software