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
Gustavo
NA
1.3k
455.3k
How Do I: Setup the assignment of a form so I can change the textBox in it?
May 22 2010 11:58 PM
Hello:
In a routine I need to populate the TextBoxs in a Form. How do I assign a form that I only have the string of the Form name? Not sure how to explain this. If someone replys to this post, I can maybe explain it better if questions are asked.
Below is the code that I have started:
for
(TheRow = 0; TheRow < FormICEPack.dataGridViewRecord.Rows.Count - 1; TheRow++)
{
TheColumnName = FormICEPack.dataGridViewRecord.Rows[TheRow].Cells[
"Column"
].Value.ToString();
TheValue = FormICEPack.dataGridViewRecord.Rows[TheRow].Cells[
"TheValue"
].Value.ToString();
MessageBox
.Show(
"L-0617: TheRow="
+ TheRow +
" TheColumnName="
+ TheColumnName +
" TheValue="
+ TheValue);
//Form_ID + ".textBox" + TheColumnName + ".Text" = TheValue;
//FormCompany.textBoxAddress_1.Text = TheValue;
}
Reply
Answers (
1
)
Convert string to list_entry
Delegate vs Event in c#