Results 1 to 4 of 4

Thread: [2005] Control Array

  1. #1

    Thread Starter
    Junior Member Light's Avatar
    Join Date
    Apr 2007
    Posts
    18

    [2005] Control Array

    How to make a control array in .Net ? in VB6.0 its easy just copy the textbox and then paste it and the output would be like this

    Code:
    txtA(0).Text
    txtA(1).Text
    txtA(2).Text
    txtA(3).Text
    txtA(4).Text
    But here in .Net when i copy paste the textbox the result is ordinary textbox

    Textbox1.Text
    Textbox2.Text
    Textbox3.Text

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: [2005] Control Array


  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Control Array

    Try searching this forum too. The question of control arrays has been asked and answered innumerable times. There has also been code posted to the VB.NET CodeBank forum. Always search before posting a question because there's always a good chance that someone has asked the same question before.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Junior Member Light's Avatar
    Join Date
    Apr 2007
    Posts
    18

    Re: [2005] Control Array

    Your right ! search first !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width