2012年2月7日
摘要: for (int i = Repeater1.Items.Count - 1; i > 0; i--) { //txtName是需要合并列的列名 HtmlTableCell oCell_previous = Repeater1.Items[i - 1].FindControl("txtName") as HtmlTableCell; HtmlTableCell oCell = Repeater1.Items[i].FindControl("txtName") as HtmlTableCell; //hfName图片列的列名 HtmlTableCel 阅读全文
posted @ 2012-02-07 17:58 风夜 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 前台:<%-- 用于显示隐藏列--%> <%switch (hdfComplete.Value) { case "": case "1": %> <%break; case "2": %> <td width="70" > 完成时间 </td> <%break; }%> 阅读全文
posted @ 2012-02-07 10:46 风夜 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 前台:<asp:PlaceHolder ID="PHD_" runat="server"></asp:PlaceHolder><asp:Repeater ID="rptTest" runat="server"> <HeaderTemplate> <table style="width: 100%"> </HeaderTemplate> <ItemTemplate> <asp:PlaceHolder ID=& 阅读全文
posted @ 2012-02-07 10:32 风夜 阅读(590) 评论(0) 推荐(0) 编辑