摘要:
1.子级Repeater中绑定父级的某个字段: <%# DataBinder.Eval((Container.NamingContainer.NamingContainer as RepeaterItem).DataItem, "ModuleName") %> 2.在子级Repeater中引用父级某个控件的值: <%# ((HiddenField)((RepeaterItem)((Repeater)(((RepeaterItem)Container).NamingContainer)).NamingContainer).FindControl(" 阅读全文