1
Answer

C# code to read text file and store it in database.

Leonard Simon

Leonard Simon

9y
822
1
I need C# code to read a text file. I'm creating a desktop application.

the text will be like this "[email protected]"
 
I need to save the file in database as
 
Name -> name
age    -> 25
phone->9856584759 
 
read line by line and save in the database.
 
Can anyone help me! 
 
consider all data is fixed number of characters/// for eg - name = first 4 characters 
Answers (1)