this.listBox1.Items.Clear();for (int r = 0; r < this.dataGridView1.Rows.Count; r++) { var c = this.dataGridView1.Rows[r].Cells[0].Value; if(c!= null) this.listBox1.Items.Add(c.ToString());}