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.

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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.