simpleonline
Active member
- Joined
- Sep 13, 2011
- Messages
- 33
- Programming Experience
- Beginner
I have two text boxes on my form. Textbox1 and Textbox2. Textbox1 will contain information. I want to code my button to read textbox 1 and put it into a string or some way for the app to read the textbox and store the information into it's memory.
Then I want to be able to read that string into the second part of my application.
Not sure where to go with this. Should I:
a). read the textbox into a string using a streamreader and then use a streamwriter to write the data into a string?
b). save the textbox to a .txt file then use the openfiledialog to read the text file into a string to use?
Any help guys would be much appreciated. Thanks
Then I want to be able to read that string into the second part of my application.
Not sure where to go with this. Should I:
a). read the textbox into a string using a streamreader and then use a streamwriter to write the data into a string?
b). save the textbox to a .txt file then use the openfiledialog to read the text file into a string to use?
Any help guys would be much appreciated. Thanks