You must Sign In to post a response.
  • Category: .NET

    How to import csv file into mysql database using c#

    Hi,
    can anyone tell me the way to import csv file data to mysql server.
  • #769640
    Hi Amruta,

    You can read file through stream reader and store it in array and using an array you can insert it into MySql Database.

    You can refer the below link:
    https://www.codeproject.com/Questions/1058039/how-to-insert-csv-file-into-mysql-database-table-u

    I hope this tip will help you.

    Regards,
    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"


  • Sign In to post your comments