Read data from Excel 2003 to write to SQL

Closed
jo - Aug 19, 2010 at 10:49 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Aug 20, 2010 at 09:32 AM
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 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Aug 20, 2010 at 09:32 AM
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
0