2012-04-13 91 views
1

我有一个DataGridView 4列。c#DataGridView从行/列获取内容

当用户双击该行时,我想从点击行的第一列中恢复数据。

private void ticketsDataGridView_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) 
    { 
     MessageBox.Show("Row " + e.RowIndex); // gets me the row selected 

    } 

如何获取所选行的列?

回答