Hi

I have a textfile with 1000000 lines and i need to INSERT these into a database.

The keyword here is performance. I have tried to read a line and doing an INSERT for each line.. This means 1000000 executenonquery calls and it would take about 1 hour to do this import.

Anyone have other ideas on how to do this?