天天看點

datagridviwer 多選行中選擇的行号

foreach

(DataGridViewRow row 

in

this

.dataGridView1.SelectedRows)

{

//選中行索引:row.Index

//選中行取值:row.Cells[0]

}