Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a text file a.txt and ıt has:
name surname grade cgpa vs.

I want to wrıte a program.
Posted
Updated 8-Jun-10 1:35am
v4
Comments
Arindam Tewary 8-Jun-10 4:28am    
What program do you intend to write to ? :)

1 solution

Write the following in C#:

1. Open the text file
2. Read one by one row
3. Insert row-by-row in database

Try!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900