dataGridView1.Rows.Add(listBox1.Items.Count); int i=0; foreach (var item in listBox1.Items) { dataGridView1.Rows[i].Cells[ColumnIndex].Value = item.ToString(); i++; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)