Array of controls in VB.NET
Posted on 2011-09-12
I have to do a piece of software for a restaurant. The restaurant has 200 tables and the owner is asking me to place 200 little textboxes (with the number 1..200). These textboxes will be background colored as GREEN (FREE TABLE) and RED (Table with customers on it). He also wants to show the money been spent on that table when he clicks on the little textbox.
My problem is that I can do this really easy with VB6, but I have no clue on how to use a control (textbox) with the same name, and different index in .NET
Please help! :P