How can i get the rownumber from a Datagridview.
In some other programming languages you can use e selectedindex ore something.
What i need:
I select a row, and i like to get something out of it..
dataGridView1.Rows[1].Cells[0].Value.ToString()
Row = 1 at that code..
That 1 should be the rownumber of the selected row...
How ?
In some other programming languages you can use e selectedindex ore something.
What i need:
I select a row, and i like to get something out of it..
dataGridView1.Rows[1].Cells[0].Value.ToString()
Row = 1 at that code..
That 1 should be the rownumber of the selected row...
How ?