private void button4_Click(object sender, EventArgs e) { procedure.spUPD_Tovar((int)dataGridView1.CurrentRow.Cells[0].Value, textBox4.Text, (int)comboBox4.SelectedValue, (float)numericUpDown1.Value, (int)comboBox1.SelectedValue, (int)comboBox2.SelectedValue, (int)comboBox3.SelectedValue); }