Click here to Skip to main content
15,877,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi. i am creating a win form using in this i want to read all the line from text file using FOR loop which user opens. so how should i do this?? please help me..
Updated 14-May-13 0:21am
[no name] 14-May-13 7:10am    
Asked and answered multiple times. You need to read your textbook and pay more attention in class.

1 solution

Share this answer
shashank 1068 14-May-13 6:22am    
this solution is not helpful for me because the code used in console application and i am creating a win form
Johnny J. 14-May-13 6:23am    
Console application or winform doesn't matter. The code is the same.
shashank 1068 14-May-13 6:25am    
but i don't want to write anything as they are saying...
i want to read text line by line from text file using FOR loop
Johnny J. 14-May-13 6:26am    
No of course you should adapt the code to what you're doing - you can't just expect to copy and paste the code and everything is working. Are you a programmer or not?
shashank 1068 14-May-13 6:27am    
nope i am a student but my project is in

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