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
Post a Comment