for(int k=1;k<=f;k++)
{
textbox+k+.text=file[k]
}
here it is not correct way to concatenate textbox and integer
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Mar 19, 2015, 8:25 AM
Jignesh TrivediPosted Mar 19, 2015, 9:47 AM
hi,
Control collection contain all control of page using following code you may find all text box on page.
foreach (var c in this.Controls.OfType())
{
c.Text = c.Name;
}
hope this will help you.
Khargesh RajputPosted Mar 19, 2015, 8:17 AM
Keertti Raj Thangavelu BabuPosted Mar 19, 2015, 8:06 AM
May I Know in details.Are you assign a value to already created textboxs or dynamic textboxs