private void button3_Click(object sender, EventArgs e) { procedure.spAdd_Tovar(textBox4.Text, (int)comboBox4.SelectedValue, (float)numericUpDown1.Value, (int)comboBox1.SelectedValue, (int)comboBox2.SelectedValue, (int)comboBox3.SelectedValue); }