Read data from Excel 2003 to write to SQL

[Closed]
Report
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Hello,

Help please
I have to read data from Excel 2003 to write to SQL server using .net,
so every time user modify data it shuld refelect to sql.

Requirement for, i have to convert excel data to barcode
we normally do with with sql query, quesry will send to intermec printer.

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
You would need to open connection to data base in excel
then use the query to update the data. Search for ADO

General flow is
1. create ado object
2. open connection to database
3. run sql statements
4. commit changes
5. close connection

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!