If what you want is simply the text displayed within a particular cell, the following may work:
GridView1.Selec tedRow.Cells[3].Text
Where the "3" is the index of the cell. Simply, 1st cell index 0, 2nd cell index 1, and so on. The code above will not work if you are using more complex column e.g. TemplateField, etc.
For TemplateField, using FindControl(".. .") method e.g.
yes,if we use code below it will works..but i dun meant that..what i want is when user click any culumn it's will get the index..not select the specific like this code below.
Comment