Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Expansion & in C#
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00876663
Message ID:
00876850
Views:
9
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform