string NsDizi = hostForm.cmbNs.Text; for (int i = 0; i < hostForm.cmbNs.Items.Count-1; i++) { NsDizi += hostForm.cmbNs.Items[i].ToString() + ","; } hostForm.textBox1.Text = NsDizi; cmmd.Parameters["@_ns"].Value = hostForm.textBox1.Text;