Click here to Skip to main content
15,921,467 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi.......
I am doing a project in which i need to create some dyamic text boxes . user selects how many textboxes he want to create and clicks a button(say button1) to generate desired no of text boxes.
There is another button(say button2) that saves these values to data base.
Now picture is : although i am able to generate controls on button1 click event yet i am unable to fetch these values on
button2 click event.
Please provide me full code.

Thanks
Posted
Comments
Hariharan Arunachalam 28-Jan-13 4:31am    
Could you elaborate on 'which' value you are not able to fetch? The values in the text boxes that the user types in later? You might have to store a reference of the control when you create them...

 
Share this answer
 
Comments
Trics071 28-Jan-13 5:10am    
i had already checked it. its only conceptual landmarks . so no benifit
Use PlaceHolder and add your controls in it. Then while saving data pass this placeholder control to save function where you are writing code for saving the data.
 
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