how to parameterize for query?
<pre><code> private void button1_Click(object sender, EventArgs e)
    {
        OleDbCommand cmd = new OleDbCommand();
        cmd.CommandType = CommandType.Text;
        string query = @"insert into Contacts (fname,lname,llnum,mobnum,e-mail,street,city,country) values (@fname,@lname,@llnum,@mobnum,@e-mail,@street,@city,@country)";
        cmd.CommandText = query;//@"insert into Contacts (fname,lname,llnum,mobnum,e-mail,street,city,country) values ('" + textBox1.Text + "','" + textBox2.Text +  "','" + textBox3.Text + "','" + textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "','" + textBox7.Text + "','" + textBox8.Text + "')";
        OleDbParameter myParm = cmd.Parameters.Add("@fname", OleDbType.VarChar, 50);
        myParm.Value = textBox1.Text;
        myParm = cmd.Parameters.Add("@lname", OleDbType.VarChar, 50);
        myParm.Value = textBox2.Text;
        myParm = cmd.Parameters.Add("@llnum", OleDbType.Integer, 12);
        myParm.Value = textBox2.Text;
        myParm = cmd.Parameters.Add("@mobnum", OleDbType.Integer, 12);
        myParm.Value = textBox2.Text;
        myParm = cmd.Parameters.Add("@e-mail", OleDbType.VarChar, 50);
        myParm.Value = textBox2.Text;
        myParm = cmd.Parameters.Add("@street", OleDbType.VarChar, 50);
        myParm.Value = textBox6.Text;
        myParm = cmd.Parameters.Add("@city", OleDbType.VarChar, 50);
        myParm.Value = textBox7.Text;
        myParm = cmd.Parameters.Add("@country", OleDbType.VarChar, 50);
        myParm.Value = textBox8.Text;

        cmd.Connection = myconn;
        myconn.Open();
        cmd.ExecuteNonQuery();
        System.Windows.Forms.MessageBox.Show("User Account Succefully Created", "Caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
        myconn.Close();
    }
</code></pre>

<p>This is how I have parameterized the fields but I get "Failed to convert parameter value from a String to a Int32." error</p>
