title: VB.NET How does one read a textbox into a string and use the string for something else?
body: <p>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.</p>
  
  <p>Then I want to be able to read that string into the second part of my application.</p>
  
  <p>Not sure where to go with this. Should I:</p>
  
  <ol>
  <li><p>read the textbox into a string using a streamreader and then use a streamwriter to write the data into a string?</p></li>
  <li><p>save the textbox to a .txt file then use the openfiledialog to read the text file into a string to use?</p></li>
  </ol>
  
  <p>Any help guys would be much appreciated.</p>