Link to home
Start Free TrialLog in
Avatar of whiwex
whiwex

asked on

Change Table size in vb.net

I am using vb.net and I have a page that contains a table with 20 rows and a drop down list. Each row in the table contains a label and a textbox. When the page loads all the labels and text boxes are invisible. When the user selects an item from the dropdownlist the some of the labels and text boxes are populated with text an those labels and textboxes are made visible. This all works fine. The problem is when the page is first loaded the full size of the table is displayed so 20 rows of nothing is displayed. If after making a selection from the drop down list and the first three rows have their labels and textbox filled with text the other 17 rows are still displayed as blank rows. Is it possible to just display the first three rows and have the other 17 rows hidden?
ASKER CERTIFIED SOLUTION
Avatar of Neun123
Neun123

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
Avatar of whiwex
whiwex

ASKER

Thanks used the table.rows.visible = false worked great