Hi everyone,
I'm relatively new to coding, but what experience I do have is mostly in C#.
A brief explanation of what I'm doing.
I'm trying to put together an application to help with my business. its windows forms in C#. I'm going to use this application mainly to write new quotes, edit quotes, and view/print quotes. I've put together a form using multiple text boxes to enter my information into, first name, last name, phone number, etc.
My problem, and Question to you.
I've tried using a stream writer to save to a file and I even tried a JSON file system. I either get a blank save file, or all the text boxes are jumbled together.
What would be the best method to save all the information correctly and also be able to open in another form to view and print later on?
Thanks!

Vishal YelveRank #178 · 13.6K reputationPosted Aug 3, 2022, 10:34 AM EDT
Alex Campbell9 reputationPosted Aug 3, 2022, 11:29 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Aug 4, 2022, 12:44 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Aug 4, 2022, 12:48 AM EDT
I think you will need to provide some sample source code. At least a sample of the output that shows all the text boxes together into one line.
Are you writing all the data using one WriteLine? If so then use a separate WriteLine for each item.
A blank save file can be the result of not calling the Flush method. See the documentation about that.
Nitin SontakkeRank #264 · 9.6K reputationPosted Aug 4, 2022, 12:54 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Aug 4, 2022, 12:57 AM EDT
Vishal YelveRank #178 · 13.6K reputationPosted Aug 4, 2022, 1:21 AM EDT
Vishal JoshiRank #377 · 6.7K reputationPosted Aug 4, 2022, 2:37 AM EDT