Click here to Skip to main content
15,868,164 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to bind textbox in gridveiw with label in asp.net
Posted

1 solution

Use this:
ASP.NET
<itemtemplate>
     <asp:textbox id="txtName" runat="server" text='<%# Eval("Name")%>'/>
</itemtemplate>

Note : Name is the column of your datasource table.

--Amit
 
Share this answer
 
v2
Comments
__TR__ 31-Aug-12 3:20am    
5ed!
_Amy 31-Aug-12 3:24am    
Thanks. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900