A
A
Artem Kiryanov2019-06-25 12:47:51
excel
Artem Kiryanov, 2019-06-25 12:47:51

Importing data from Excel to MS SQL using C#?

I want to unload the data from Excel to MS SQL in a certain base by the button. This is done manually using the Import and Export Data tool. Is there any way to do this programmatically? I dug all over Google, but everywhere they write that tables are created first, and then data from Excel is already there, but this option does not suit me very well, it is necessary that tables be automatically created when importing data as when calling the import tool.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Skorzhinsky, 2019-06-27
@hacker342

Perhaps integration services will suit you , in fact the same import, but with the possibility of programming :)

C
cssman, 2017-08-24
@cssman

start with bash

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question