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
"If you can dream it, you can do it."