I\'m getting a value from DataGridView, and based on particular I want to know its row index using DataTable object. For instance, if I get the value \"this\", then I want t
using System.Data; DataRowView row1 = (DataRowView)dataGridView1.CurrentRow.DataBoundItem; int idx11 = row1.Row.Table.Rows.IndexOf(row1.Row);