Repeater RptrQuestionsAndOptions = new Repeater(); foreach (RepeaterItem item in RptrQuestionsAndOptions.Items) { headeritem = new RepeaterItem(item.ItemIndex, ListItemType.Header); itemtemplate = new RepeaterItem(item.ItemIndex, ListItemType.Item); footeritem = new RepeaterItem(item.ItemIndex, ListItemType.Footer); } HtmlTable table = new HtmlTable(); table.Style["min-height"] = "300px"; table.Style["width"] = "100%"; headeritem.Controls.Add(table);
static
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)