Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Expansion & in C#
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Macro Expansion & in C#
Divers
Thread ID:
00876663
Message ID:
00876663
Vues:
86
I'm trying to dynamically build a lable name that appears on a form from Meta Data.

for (count = 0; count <= dsLang.Tables[0].Rows.Count; count++)
{
// dynamic combine "Label" and row# here
lcText = dsLang.Tables[0].Rows[count]["labelText"].ToString;

// I wish this would work!
// Get the Row# to the control in question?????
lcwish = "MmLabel"+Convert.ToString(count);

}

How do I iterate through the "language" dataset and put it's text in the place of the existing labels alread on the form?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform