krishnakumar kuna

krishnakumar kuna

  • NA
  • 57
  • 36.8k

txt file with comma dimmiter to database

Sep 27 2013 9:29 AM
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)