昊仔

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年6月3日

摘要: 我知道的两种方法,其实都一样!1、public partial class repeater获取控件 : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { } protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e) { if (e.CommandName.Equals("get")) { Button button = Repeater1.Controls[Repeater 阅读全文
posted @ 2013-06-03 21:05 昊仔 阅读(396) 评论(0) 推荐(0) 编辑

摘要: for (int i = Repeater2.Items.Count - 1; i > 0; i--){HtmlTableCell oCell_previous = Repeater2.Items[i - 1].FindControl("f_Type") as HtmlTableCell;HtmlTableCell oCell = Repeater2.Items[i].FindControl("f_Type") as HtmlTableCell;oCell.RowSpan = (oCell.RowSpan == -1) ? 1 : oCell.Ro 阅读全文
posted @ 2013-06-03 20:52 昊仔 阅读(126) 评论(0) 推荐(0) 编辑