?
Solved

Entering Value in TextBoxes create at run time

Posted on 2004-11-10
2
Medium Priority
?
142 Views
Last Modified: 2010-05-18
I create an Array of 9 TextBoxes(at runtime)
Now I would like, at run time, entering value when I click a button.

Any suggestions
Thanks
Dominique
0
Comment
Question by:cappelaere
2 Comments
 
LVL 18

Assisted Solution

by:tusharashah
tusharashah earned 750 total points
ID: 12551906
You can simply access the textboxes using following code:

((TextBox) Page.FindControl("textBox1") ).Text = "AaBbCcDd"

-tushar
0
 
LVL 18

Accepted Solution

by:
armoghan earned 750 total points
ID: 12552271
if its a windows application, simply loop through the array and set text to it

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question