title: Getting value from a database using textbox
body: <pre><code> string que = "SELECT Name FROM StudentInfo where StudentNo=textBox1.Text ";
  </code></pre>
  
  <p>Every time I run this it always says that </p>
  
  <blockquote>
    <p>"The multi-part identifier "textBox1.Text" could not be bound".</p>
  </blockquote>
  
  <p>How do I fix this?</p>