title: Overloaded method match (can't convert string to int)
body: <p>I'm trying to get 2 int and 3 strings inserted into the database from a label and 4 tekstboxes.</p>
  
  <p>The Error I'm getting: </p>
  
  <blockquote>
    <p>The method Insert has some invalid arguments, the argument cannot convert from string to int.</p>
  </blockquote>
  
  <p><code>lblHidden.Text</code> and <code>TextBoxDagnummer.Text</code> have strings in them but I need to convert them into integers. Do I convert them before the Insert or in the insert and what is the syntax?</p>
  
  <p><strong>Code behind</strong></p>
  
  <pre><code>protected void Button2_Click(object sender, EventArgs e)  
  {
     Vakinhoudclass.Insert(lblHidden.Text, TextBoxDagnummer.Text, TextBoxHoofdstuk.Text, TextBoxOnderwerp.Text, TextBoxLes.Text);
  
     GridView1.DataBind();
  }
  </code></pre>