Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Creating Conrols dynamically

Author  Topic 

websyd
Starting Member

16 Posts

Posted - 2006-07-21 : 13:00:45
Hi all. i want to create controls dynamically ie creating a number of textboxes based on the number of records i have in a table. How do i go about this.
Thanks in advance

DustinMichaels
Constraint Violating Yak Guru

464 Posts

Posted - 2006-07-21 : 13:10:21
You could try using a Repeater, DataList, or DataGrid control.
Go to Top of Page

websyd
Starting Member

16 Posts

Posted - 2006-07-21 : 13:19:36
Thanks but can i please hav some sample codes
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2006-07-21 : 13:48:18
How lazy can you be? Did you try googling?

http://www.google.com/search?q=asp.net+Repeater
http://www.google.com/search?q=asp.net+DataList
http://www.google.com/search?q=asp.net+DataGrid

Literally hundreds of examples and tutorials are out there .... Or are you looking for someone to write your code for you?

- Jeff
Go to Top of Page
   

- Advertisement -