title: How to pass value from visible = false textbox?
body: <p>I set a textbox visible = false on a textbox that just holds a value.  When trying to convert that value and then input it into a query it fails in visible=false.  What is the proper way to do this since this obviously is not it.  HEre is the code that passes the two textbox values to the query.</p>
  
  <pre><code>private void cmdAddAdd_Click(object sender, EventArgs e)
          {
              DataClasses1DataContext db = new DataClasses1DataContext();
              int interestsKey;
              interestsKey = Convert.ToInt32(interestsKeyTextBox.Text);
              InterestAdd newAdd = new InterestAdd();
              newAdd.CaseNumberKey = caseNumberKeyTextBox.Text;
              newAdd.InterestsKey = interestsKey;
              db.InterestAdds.InsertOnSubmit(newAdd);
              db.SubmitChanges();
  
              LoadCaseNumberInterestsKey(interestsKey, newAdd.CaseNumberKey, false, "interestAdd");
  
              this.interestAddDataGridView.EndEdit();
              this.interestAddDataGridView.Refresh();
          }
  </code></pre>
  
  <p>I set the textbox behavior to visible = false.</p>
  
  <p>Thanks,</p>
  
  <p>Kor</p>