Link to home
Start Free TrialLog in
Avatar of PratikShah111
PratikShah111

asked on

Create controls from codebehind asp.net

What I ultimately want is dynamically create controls depending upon the number I get from db.

 for (int intControlIndex = 0; intControlIndex < number returned from db; intControlIndex++)
{
add a label and hyperlink
add a panel
add few check boxes inside the panel
}

so if number returned from db = 2 I need the output something like this

I need the above items to be shown in same sequence that I have shown above.
ASKER CERTIFIED SOLUTION
Avatar of PratikShah111
PratikShah111

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial