How to read from database and write into text file with C#?
Posted
by user147685
on Stack Overflow
See other posts from Stack Overflow
or by user147685
Published on 2009-09-01T08:47:17Z
Indexed on
2010/03/23
22:43 UTC
Read the original article
Hit count: 255
How to read from database and write into text file?
I want to write/copy (not sure what to call) the record inside my database into a text file. One row record in database is equal to one line in the text file. I'm having no problem in database.
For creating text file, it mentions FileStream
and StreamWriter
. Which one should I use?
© Stack Overflow or respective owner