title: How can calculate the number of columns in a textfile and show in a textbox, in vb.net?
body: <p>I have a textfile (data.txt) with 3 columns, each column with one variable (x1, x2 and x3). I would like to calculate a number of columns and show in a specific textbox (like textbox1).
  For example. My data.txt:</p>
  <pre class="lang-none prettyprint-override"><code>x1 x2 x3
  10 15 20
  20 10 10
  </code></pre>
  <p>TextBox1 needs to show: 3</p>