目前找到的方法如下:
实现代码如下:
((Literal)rep2.Controls[rep2.Controls.Count - 1].FindControl("rep2Sum")).Text = ss.ToString();
我在FooterTemplate放了一个Literal。
也就是说FooterTemplate是Repeater控件中的最后一个控件。
以上就是【Repeater的FooterTemplate中控件内容设置方法】的全部内容了,欢迎留言评论进行交流!
以上就是【Repeater的FooterTemplate中控件内容设置方法】的全部内容了,欢迎留言评论进行交流!