protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { OnePageModel onePage = (OnePageModel)e.Item.DataItem; ((HtmlTableCell)e.Item.FindControl("Eval_Father")).InnerText = bll_onePage.GetTitle(onePage.FatherId); ((HtmlTableCell)e.Item.FindControl("Eval_Inbuilt")).InnerHtml = bll_onePage.GetStatus(onePage, "in"); ((HtmlTableCell)e.Item.FindControl("Eval_Status")).InnerHtml = bll_onePage.GetStatus(onePage, "enab"); if (onePage.Inbuilt) { ((HtmlTableCell)e.Item.FindControl("Eval_CreateTime")).InnerText = "[ 系统内置 ]"; } else { ((HtmlTableCell)e.Item.FindControl("Eval_CreateTime")).InnerText = DateHelper.ToShortDate(onePage.CreateTime); } e.Item.FindControl("Eval_Del").Visible = !onePage.Inbuilt; }