Add a textbox in a GridView control. Usually, you will attach a GridView to a database table. Let's assume, you have a column called XYZ in the table. You can add an editable textbox to the GridView as shown below.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false"
ShowFooter="true">
<Columns>
<asp:TemplateField HeaderText="XYZ">
<ItemTemplate> <%#Eval("XYZ")%> </ItemTemplate>
<FooterTemplate><asp:TextBox ID="tbXYZ" Width="200px" runat="server" /></FooterTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
You will find the entire code here in in this article[^] Hope this helps.
Hi, This is arun