Dynamic text boxes in VB.Net

jay.btk

New member
Joined
May 9, 2007
Messages
2
Programming Experience
Beginner
Hi all..

I need a help. I need to get dynamic text boxes when I select something from a dropdown list box. What I mean to say is drop down list box contains jobs of DataStage. Each job has its own parameter like user name, password etc (It can varry). I need to enter these values in text boxes. When I select a job which has user and password only as parametrs then I should get two text boxes. If three parameters are there then I should get 3 text boxes.

Can somebody help me on this ?
Thanks in advance.

Jaysheel
 
VB.NET:
        PanelTexboxes.Controls.Clear()
        Dim tb As New TextBox
        tb.Location = New Point(10, 10)
        PanelTexboxes.Controls.Add(tb)
 
Back
Top