Use TemplateField instead of BoundField. See below example:
<asp:templatefield headertext="Id" itemstyle-width="10><br mode=" hold=" /> <ItemTemplate><br mode=" textbox1=" runat=" server=" <br mode=" locationid=") %>'></asp:TextBox><br mode=" center=" /><br mode=" xmlns:asp="#unknown"></asp:templatefield>