Exporting winform data to .txt file
Posted
by EvanRyan
on Stack Overflow
See other posts from Stack Overflow
or by EvanRyan
Published on 2010-05-17T19:40:24Z
Indexed on
2010/05/17
20:20 UTC
Read the original article
Hit count: 232
I have a winform with two data grids, and multiple text boxes. I want to give the user the option to export this data to a text document in a location of their choice on their drive. I also want the text document to be pre-formatted, and the values from the text boxes and datagrids to be plugged in.
Is it possible to pre-format a txt document using StreamWriter? And how to I go about giving the user the option of where to save this exported file?
© Stack Overflow or respective owner