Hi,Rupert:
You can use the findcontrol to get the TextBox in editTemplate:
GridView1.Rows[e.NewEditIndex].RowState = DataControlRowState.Edit;
TextBox tb=(TextBox)GridView2.Rows[e.NewEditIndex].Cells[2].FindControl("Label1"))
// do something
Best Regards,
__________________________________________________
Sincerely,
Rex Lin
Microsoft Online Community Support
This posting is provided "AS IS" with on warranties, and confers no rights.