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

Click here to load this message in the networking platform