我在更新GridView的一行数据的时候,提示未将对象的引用设置到对象的实例(第五行)
1.protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
2.    {
3.        int index = e.RowIndex;
4.        int id = Convert.ToInt32(GridView1.Rows[index].Cells[1].Text);
5.        string name = ((TextBox)GridView1.Rows[index].Cells[2].FindControl("TextBox1")).Text;
6.        int age = Convert.ToInt32(((TextBox)(GridView1.Rows[index].Cells[3].FindControl("TextBox2"))).Text);
7.        fill(id, name, age);
8.        GridView1.EditIndex = -1;
9.        bind();
10.    }