|
vb 2005
what i have is an interface designed to act like an order form at a bookstore, like the one a clerk would use to ring up a customer for books. The btnList button connects all the textboxes in the gui to an msaccess database with all the information about pricing and what courses the textbooks correlate to. the best way for me to describe it is a row of textboxes for inputs for isbn#, textbook name, the course it correlates to, pricing, quantity etc. with three buttons to the right of this row in line with it. what i want to do is have an "add" button amongst those three buttons to the right which will add the item to the total and create a new row of textboxes and a new set of three buttons. the only way i can think of to do this would be to use arrays to define the controls (textboxes and buttons), but, apparently, in 2005 and .net, you can't declare a control in an array. so my question is how do i sidestep declaring the controls in an array without devoting 500 pages of code to this one process?
|