Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i read delimated files from a folder one by one and store all these delimated fields into mysqlserver. plz help . thnx in advance to all the expert.
Posted
Updated 3-Jan-12 23:32pm
v2

1 solution

You need to break this problem down into it's various parts, and study the relevant sections on MSDN.

1. Read text files from Disk - StreamReader[^].

2. Split the delimited files using String.Split[^].

3. Use ADO.Net[^] to update database.

Hope this helps.
 
Share this answer
 
Comments
taher ahmed choudhury 4-Jan-12 6:09am    
i need the code for reading multiple text file from input folder of application path and read it and split and updating it to to database. so please send me the code for that. thanks in advance to all the expert programmer
Wayne Gaylard 4-Jan-12 6:16am    
No one is going to write the code for you. You should do the research yourself and then you will be able to write the code yourself.

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