日期:2014-05-17 浏览次数:21072 次
dataGridView1.SelectedRows[dataGridView1.CurrentRow.Index - 1]
int i=this.DataGridView1.CurrentCell.RowIndex;
int rowIndex = this.dataGridView1.CurrentCell.RowIndex;
DataGridViewRow dgvr = rowIndex == 0 ? null : this.dataGridView1.Rows[rowIndex];
int rowIndex = this.dataGridView1.CurrentCell.RowIndex;
DataGridViewRow dgvr = rowIndex == 0 ? null : this.dataGridView1.Rows[rowIndex];