获取DataGridView选中行的第一列的值,该如何解决

获取DataGridView选中行的第一列的值获取DataGridView选中行的第一列的值[解决办法]this.dataGridView1.Se

获取DataGridView选中行的第一列的值
获取DataGridView选中行的第一列的值
 

[解决办法]
this.dataGridView1.SelectedRows[0].Cells[0].Value
[解决办法]
dataGridView1.CurrentRow.Cells[0].Value
[解决办法]
string str = dataGridView1.CurrentRow.Cells[0].Value.ToString();
[解决办法]
this.textBox1.Text = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();

[解决办法]
顶!~
this.dataGridView1.CurrentRow.Cells[0].Value.ToString();