Click here to Skip to main content
15,906,463 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all
i create dynamic text boxes now how to get data from the dynamic text boxes
in asp.net using c#.net
i m using foreach(controls g in pannel.conntrols)
but it dos not read dynamic controls but read only static controls
or am also usedforeach(controls g in this.conntrols)
but no effect
:->Note m created all textboxes on a dropdown text changed event
how it should be done
Posted
Comments
Prosanta Kundu online 2-Jul-10 2:30am    
It is not cleared that where you are using foreach loop. Please provide code.

1 solution

I know its a slow way to do it, and maybe not the best but I use an array list to keep track of my controls when i create them dynamically
 
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