Arrays of Controls

  • Thread starter Thread starter news
  • Start date Start date
N

news

Can .NET handle the old system of arrays for controls used in Visual Basic?
eg

TextBox(1), (2) ...
 
You can certainly build an array of controls, .NET will support an
array of any type.

Getting support from the designer, on the othjer hand, is a different
matter.
 
You mean dynamic building of controls?

I was thinking of the old VB screens (eg VB 6) which had a SHIFT system and
PASTE. A array of controls was easily built and then a LOOP to set
attributes in an event.

I have looked at DataGrids, REpeaters, and DataLists but they seem to handle
one db column (last two controls) and the Grid is difficult to handle for
more advanced functions. I have built some controls using static controls
Text1, Text2 etc but this is not good code.

So what did MS replace the old arrays in VB with? They were widely used.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top