how do i craeta an array of controls in

Chris Jones
Chris Jones used Ask the Experts™

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 would i do this ?
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


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