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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.