Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I dynamically create a label and a textbox in asp.net and submit their value to the database?
Please help me.
Posted
Updated 9-Nov-10 0:59am
v2

Here's a good link for reference. Also, first follow the links given in the introduction first.

http://www.4guysfromrolla.com/articles/092904-1.aspx[^]

Good luck!
 
Share this answer
 
Go through the below Google Search Link
Create Dynamic Controls in Asp.net[^]
 
Share this answer
 
write on Page_Load
{
labal l=new label();
l.text="tom";
this.controls.add(l);
}
it will create label dynamically and then u can store its value in a variable
and pass as a reference in database table// :)
 
Share this answer
 

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