I have Gridview and 6 rows in it. Now I want to get the Focused Row Column value when I click any Cells in Corresponding Row. For Example I want to get Student Exam_no, If i click Student name , Address or Department any cell in the same Row I want to get Exam_no. How to Complete my Task ?
private void gridControl2_Click(object sender, EventArgs e)
{
var frm = new New_Invoice();
frm.Show();
gridView1.RefreshData();
}
This code i tried but not work what I except ? Thanks in Advance.