I made a loop:
for (int i = 0; i < sumUSERS; i++ )
{
principal.UserPrincipalName = "bn" + txtbox_cusnumber.Text + "." + txt_user1.Text;
}
In my Form i have Text boxes with the following names :
- txt_user1
- txt_user2
- txt_user3
How can I set the value i in txt_user(i).text?
I hope my question is understandable.
#MyContainer.Controls.Find("myControlName", true);