find controls

  • Thread starter Thread starter neeme
  • Start date Start date
N

neeme

Hi:

I use vs.net 2003 cf create my APP!

I use C# !

I have a form in my App!

And have 10 Labels (Label0 to Label9)

Have 10 string is names[10];

I think to do

Label0.text = names[0];
Label1.text = names[1];
Label2.text = names[2];
...


This is trouble!

How can i

int i;
for(i=0;i<10;i++)
{
???? = names;
}

Thank you!
 
Back
Top