You can select the text inside the TextBox of the GridView when you click inside the TextBox. This is pretty simple here is the code:

<EditItemTemplate>
            <asp:TextBox ID="txtFirstName" onfocus="this.select()"
            runat="server" Text=
'<%# Eval("FirstName") %>' />
            </EditItemTemplate>
            

powered by IMHO 1.3