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
Divers
Thread ID:
00876663
Message ID:
00876850
Vues:
8
>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

I'm not sure I understand what you want to do here. Loop through the table and assign the value to the text of a label that matches the index?

Reflection is your friend for this:

this.GetType().GetProperty("Label01",
BindingFlags.Public | BindingFlags.NonPublic |
BindingFlags.Static | BindingFlags.Instance |
BindingFlags.IgnoreCase).SetValue(this,lcText,null);
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform