how do i craeta an array of controls in vb.net

Chris Jones
Chris Jones used Ask the Experts™
on
Hello,

i have a project where i have a class that runs and users a control forma web form. i would like to send multiple controls to that class.how would i do this ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Dim arrControls = New Control() {lstValue, btnTest, pnlTest}
Dim obj = New Test(arrControls)

Open in new window


lstValue : ListBox
btnTest : Button
pnlTest : Panel
Chris JonesLead Application Web Developer

Author

Commented:
Thanks it was a easy question

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial