Results 1 to 3 of 3

Thread: TextBox Arrays and what not

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2003
    Posts
    26

    TextBox Arrays and what not

    I need to create an array of textboxes as well as one with field names from a database that correspond to them. The array size will vary based on the current form. I want to load the arrays in the form and then populate them with the data from the database in a class.

    Is there an easy way to do this? My array idea really isn't working too much. and the textbox names will be different based on which form it is.

  2. #2
    Lively Member
    Join Date
    Aug 2003
    Location
    When?!?!
    Posts
    108
    /think i hate jonior members so I am not gonna help.

    oh yea, now.... an array that connects with other form eh?


    well you find that not possible cuz in .NET, you simply have to declare an object to do anything with it. (e.x. protect it from a neuclear explosion, but I think .NET has a function somewhere for that ) so no, no arrays for you.

    wachya lookin' at boy?
    DannyJoumaa
    Advanced VB6 Programmer
    Intermediate-Advanced VB .NET Programmer
    Intermediate C# Programmer
    Intermediate Win32 Developer
    Beginner Mac OS X Developer
    Contact: [email protected]

    Favorite Sayings:
    "Every time you open your mouth, you prove your an idiot."
    "God is a programmer. Satan is a bug. Life is debugging."

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You probably should be looking at the datagrid. It can be bound to different datasources and it will auto format itself.

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