6
Reply

txt file with comma dimmiter to database

Ask a question
Hi 

I am new to c# asp.net 
I have a txt file with data


"first","second","third","fourth"
"first","second","third,hai","fourth"
"first","second","third","fourth"
"first","second","third","fourth"

which is a csv file i need to fetch the string from this file and store in database.
You can notice that there is double qoutes and comma and another thing is in 2nd row third column there is a comma in between the whole string .

please help with this.


thanks in advance

Answers (6)