Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question
Message
De
06/07/2010 10:49:34
 
 
À
06/07/2010 09:26:02
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01471507
Message ID:
01471522
Vues:
48
>>string s = "textBoxColumn" + column.ToString();
>>((TextBox)this.Controls.Find(s, true)[0]).ForeColor = textboxforecolor;

Right on the money, Viv. Thanks. And yes, it's in a for loop

Here's another one for you:

Suppose I wanted to create a button named "button" + column for each value of column???
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform