Click here to Skip to main content
15,885,760 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am pradeep Kumar. I am geting problem in creating dynemic Control in asp.net.
Just I want's to create 10 Text Field with the help of for loop and after submit the page I want's the value of each text box in a string seperate by ','.



Plz Help me.byyyy
Posted

1 solution

So whats the problem you are facing. Create your control in Page_Preinit method and add them in the page collection then after submitting the page, you can read all the controls value by accessing the controls from page collection.
 
Share this answer
 
Comments
PK DotNet 14-Jun-10 6:30am    
Hi Brij
That fine but I am generating Student Result. So there is a condition, Over button click I have to do this.
The main problem I am facing is that at Round Trip Textboxes are lossing there value.
Plz Give me Example that I can under Stand batter.

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