|
-
Nov 22nd, 2003, 01:24 PM
#1
Thread Starter
Junior Member
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.
-
Nov 22nd, 2003, 03:10 PM
#2
Lively Member
/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."
-
Nov 22nd, 2003, 06:07 PM
#3
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|