亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

Repeater的FooterTemplate中控件內(nèi)容設(shè)置方法

 更新時間:2009年12月16日 22:53:14   作者:  
Repeater的FooterTemplate中控件內(nèi)容設(shè)置方法,需要的朋友可以參考下。
Repeater中FooterTemplate并無FindControl方法,也無法將FooterTemplate轉(zhuǎn)成RepeaterItem,雖然在Repeater的ItemDataBound事件中,RepeaterItemEventArgs參數(shù)用if (e.Item.ItemType == ListItemType.Footer)可判別出這個Footer,但其他時候不行。

目前找到的方法如下:

復(fù)制代碼 代碼如下:

((Literal)rep2.Controls[rep2.Controls.Count - 1].FindControl("rep2Sum")).Text = ss.ToString();


我在FooterTemplate放了一個Literal。
也就是說FooterTemplate是Repeater控件中的最后一個控件。

相關(guān)文章

最新評論