Your check your cells.First you check how many cells in your grid.
i will give you sample. I have one gridview and textbox.
ArrayList arr = new ArrayList();
arr.Add("AA");
arr.Add("BB");
arr.Add("CC");
GridView1.DataSource = arr;
GridView1.DataBind();
GridView1.SelectedIndex = 0;
TextBox1.Text = GridView1.SelectedRow.Cells[0].Text.Trim();
You check like this.
Hope be helpful,
Theingi Win.