Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing properies as parameter
Message
De
18/08/2006 13:44:49
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Passing properies as parameter
Divers
Thread ID:
01146810
Message ID:
01146810
Vues:
81
Here is an interesting one

I want to pass properties like

I have 10 txtboxes called txtBox1, txtBox2 txtBox 3 etc

I want to be able to increment them viz

txtbox[1].text = a1
txtbox[2].text = a2
txtbox[3].text = a3
etc

I need to be able build these into a for sttement

ie
For each a
txtbox[a].text = b


how do I dob this in C#

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform