C#2005 获取DataGridView选中行的值
第一列
String str = this.DataGridView.SelectedCells[0].Value.ToString();
第二列
String str = this.DataGridView.SelectedCells[1].Value.ToString();
第一列
String str = this.DataGridView.SelectedCells[0].Value.ToString();
第二列
String str = this.DataGridView.SelectedCells[1].Value.ToString();