Click here to Skip to main content
15,887,251 members
Articles / Web Development / ASP.NET

Parse CSV file chunk by chunk and save in database

Rate me:
Please Sign up or sign in to vote.
4.90/5 (27 votes)
25 Nov 2013CPOL7 min read 133.4K   2K   64  
In this article I will demonstrate how to read a large CSV file chunk by chunk (line basis) and populate DataTable object and bulk insert to database.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Bangladesh Bangladesh
How do I describe myself to you? How can I explain that this is true?
I am who I am because of you! My work I love you !!

Comments and Discussions