Dear Friend ,
The text box should inside the
<br />
<asp:TemplateField HeaderText="Mapping Text"><br />
<Itemtemplate><br />
<asp:textbox runat="server" id="txtMappingText" > <br />
<br />
<br />
</Itemtemplate><br />
but sorry are you missing binding data to the Textbox , aren't you ?
any way you should bind text data to access them in the Text attribute
<br />
<asp:textbox runat="server" id="txtMappingText" text="<%# Eval("Feild Name")%>" ><br />
and if you want to set data you just set it when you get the objTxt1 by
<br />
objTxt1.Text="Your Value";<br />
regards
Ab Abulubbad