control arrays in vb.net(i had to use 180 textboxes)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adnan4747
    New Member
    • Apr 2014
    • 1

    control arrays in vb.net(i had to use 180 textboxes)

    i had to use 180 textboxes to save the data in database....but the control arrays do not work in vb.net...what is the alternate to do that
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    If you store the TextBoxes in an array, you can loop through them to collect the data that the user entered. Of course you will also have to loop through the array to display the TextBoxes on a screen.

    I'm not sure why an array wouldn't work for you so you will have to clarify what happened.

    Have you considered using a normal array?

    -Frinny

    Comment

    Working...