Is there any solution to the problem described below C# dataGridView1 'EventArgs' does not contain a definition for 'RowIndex' eventargs does not contain a definition for rowindex enter image description here
textBox1.Text = dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString();