int index = dataGridView1.CurrentRow.Index; //获取当前选择行引导
string str = dataGridView1.Rows[index].Cells[7].Value.ToString();//获取值
转载于:https://www.cnblogs.com/EthanSun/p/3140631.html
int index = dataGridView1.CurrentRow.Index; //获取当前选择行引导
string str = dataGridView1.Rows[index].Cells[7].Value.ToString();//获取值
转载于:https://www.cnblogs.com/EthanSun/p/3140631.html