Exporting winform data to .txt file
- by EvanRyan
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?