.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson
Eminent IT

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Adding textboxes at runtime

Posted By: Ravindra     Posted Date: March 06, 2010    Points:2   Category :ASP.Net
How to add textboxes at runtime to website

Author: pradeep             
Posted Date: March 06, 2010     Points: 5   

<asp:textbox id="textbox1" runat="server"/>

Author: Ravindra             
Posted Date: March 06, 2010     Points: 5   


This is the code for html server control...
i need to add textboxes dynamically to the website based on the requirements,
i.e if i hav some 10 fields in database i need to load them dynamically in 10 textboxes at runtime

Author: Lalij Mer             
Posted Date: March 07, 2010     Points: 5   

Show here articles will help you

Create text box dynamically Runtime


More example Here will help


Please Check my answer if you help....
Thank You...

Author: abhay             
Posted Date: March 08, 2010     Points: 5   

Textbox txt = new Textbox();
and append this controls to a div or td of a table like this

id of td or div .Controls.Add(txt);

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend