Hi,
I have a general question on CSV import and I am sorry if this has been asked before on this forum.
So, I have a UI page with the data entry fields. I have to implement import functionality by which user can select the csv file and when they load it, the appropriate data entry field should populate the value.
What is the best way ( performance wise) to accomplish this?
Any suggestion is highly appreciated.
Loading

Lacy Michelle148 reputationPosted Oct 24, 2012, 10:40 PM EDT
Then, you can connect it to database. Details can be seen:
CSV to Datatable C#
Jignesh TrivediRank #16 · 50.3K reputationPosted Oct 24, 2012, 8:02 PM EDT
for the csv file import, you have anly way read it save it.
but csv fileds are same database filed then i think you can use bulk insert (BCP) utility of SQL server.
or may be you can use third party control like FileHelpers.
hope this will help you.
Deer Park39 reputationPosted Oct 25, 2012, 5:31 AM EDT
Lacy Michelle148 reputationPosted Oct 25, 2012, 5:26 PM EDT