foreach
(DataGridViewRow row
in
this
.dataGridView1.SelectedRows)
{
//选中行索引:row.Index
//选中行取值:row.Cells[0]
}
foreach
(DataGridViewRow row
in
this
.dataGridView1.SelectedRows)
{
//选中行索引:row.Index
//选中行取值:row.Cells[0]
}