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?
Networking.NET ProgrammingVisual Basic Classic

Avatar of undefined
Last Comment
whiwex

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Neun123

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
whiwex

ASKER
Thanks used the table.rows.visible = false worked great
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23