esto se realiza en los eventos :
ItemDataBound (DataGrid)
RowDataBound (GridView)
If e.Row.RowIndex = GridView1.SelectedIndex Then
Dim txt as TextBox = CType(e.Row.FindControl("<nombre>"), TextBox)
txt.Attributes.Add("width","20px") ' ó
txt.Styles.Add("width","20px")
End If
espero te sirva cualquier consulta
[email protected] [email protected]