int rows = dataGridView1.indexrows;//获得选种行的索引 string str = dataGridView1.rows[rows].cells[num].text;//获取第rows行的索引为num列的值
转载于:https://www.cnblogs.com/ggbbeyou/archive/2009/12/02/1615575.html
int rows = dataGridView1.indexrows;//获得选种行的索引 string str = dataGridView1.rows[rows].cells[num].text;//获取第rows行的索引为num列的值
转载于:https://www.cnblogs.com/ggbbeyou/archive/2009/12/02/1615575.html