inserting huge ammount of rows into mysql useing C# from csv file -


i need insert data csv files dates strings ints code every file have 28column , 6000 rows need insert data of multiple file when clicking on buttom tryed insert them row row using sql insert statment take around 2 mins finish , crash need make proccess faster , smooth check if row inserted no rows same data inserted database appreciated

if there lot of duplicates in files, load rows list , use distinct method in system.linq before inserting database. type contained in list implement icomparable interface.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -