Protected Sub GridView1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) If GridView1.EditIndex <> -1 Then Dim tb As TextBox = GridView1.Rows(GridView1.EditIndex).Cells(2).Controls(0) tb.BackColor = Drawing.Color.Red tb.Width = 400 End If End Sub