HI FRIENDS
I want that when I select a line after I click on the link I display the state and the line select I retrieve the first column
I tested this and it was much more now it does not work
I do not know why
private void dataGridView1_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e){//row is selectedif (dataGridView1.SelectedRows.Count == 1){//link label clickif (dataGridView1.Columns[e.ColumnIndex] is DataGridViewLinkColumn && (e.RowIndex >= 0)){num_att = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();etat_att_marche etm = new etat_att_marche(textBox1.Text, num_att);etm.Show();//MessageBox.Show(num_att);}}}
It shows this error![]()
Rajkiran SwainPosted Jun 19, 2017, 3:10 AM
SelectionModetoFullRowMode.Karthi KeyanPosted Jun 18, 2017, 11:55 PM