TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
darealremco
NA
1
0
Variable string as Objectname
Jul 6 2004 3:47 PM
I'm a Dutch student and i'm starting with one of my first c# applications. Today a big problem occured to me: I want to use a string as an object name for a textbox. I'd like to make several textboxes within a for-statement and I want to use names for these, so I can modify them seperately. The problem is that I can't modify them, because they don't have different object names. I'd like to give them names like: textBox1, textBox2, etc. How can I use a string to become an object name? (as in the example, the first time the for-loop runs, I want the object to have the name textBox1, the second loop, textBox2 etc. etc.) thank you very much in advance, Remco van Wijk
Reply
Answers (
1
)
datagrids in C#
Create line component