I am working on a form that has a table that is used to hold labels and text boxes for each language. The idea is if the resource is available in this other language you would enter the URL to it into the textbox and on the backside you would retrieve that value and store it inthe database.
Both the table, and the controls contained in it are created programatically. I am creating the table rows by looping through the datatbale like so: foreach (DataRow lang in dtLanguages.Rows)
{
TableRow trLangRow = new TableRow();
trLangRow.TableSection = TableRowSection.TableBody;
// Language
TableCell tcLanguage = new TableCell();
// Create the label control
Label langLabel = new Label();
langLabel.ID = "lbl" + lang["EnglishLanguageName"].ToString().Replace(" ", "").To ...
Go to the complete details ...