AI OnAI Off
protected void GetPageTypeList()
{
PageTypeCollection pageTypes = new PageTypeCollection();
pageTypes = PageType.List();
PageTypeList.DataSource = pageTypes;
PageTypeList.DataTextField = "Name";
PageTypeList.DataValueField = "Id";
}
protected CheckBoxList PageTypeList; . . . GetPageTypeList() . . . protected void GetPageTypeList() { PageTypeCollection pageTypes = new PageTypeCollection(); pageTypes = PageType.List(); PageTypeList.DataSource = pageTypes; for(int i=0; i
Vad/var gör jag fel?