0

Hi folks,
I have a web page...which has a drop down box.
whichever value is selected from that drop down certain number of labels and text boxes have to be created accordingly.
[Actually database drives this...]

Can anyone tell me, how can I achieve this ????


One more thing...I wanna place these labels and text boxes inside HTML table that I am using on my page.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by smariano77
0

This is how I did it:

For i = 0 To len - 1
            Dim _label As New Label
            _label.ID = "_label" & i.ToString
            labels(i) = _label
            Panel1.Controls.Add(_label)
            cont += 25
        Next

 Panel1.Height = cont

You can use labels, or another control.
Hope it helps!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.