private void button1_Click(object sender, EventArgs e) { for (int i = 0; i < dataGridView1.Rows.Count; i++) {
//Data gridview to listview listView1.Items.Add("" +dataGridView1.CurrentRow.Cells[0].Value.ToString());
// dataGridView1.Rows[dataGridView1.CurrentRow.Index+i].Selected=false;
} }