Problem in Gridview ItemTemplete

Sep 26 2009 2:42 AM
I have gridview in that one template field with texbox is there. my problem is i want to give textbox of text at codebehind is it possible.
for eg.
<asp:TemplateField Visible="false" HeaderText="Address">
                          <ItemTemplate>
                         <asp:TextBox ID="txtAddress" runat="server"  ReadOnly="true" TextMode="MultiLine" Text='<%# Eval( "Address") %>'></asp:TextBox>
                          </ItemTemplate>
                          </asp:TemplateField--%>

here i dont want to give any text this i have to give through code behind it is possible.

Answers (3)