首页 新闻 赞助 找找看

ItemTemplate中添加TR td 求详解模版信息

0
悬赏园豆:10 [已关闭问题] 关闭于 2011-05-24 11:48

<table>

<asp:Repeater ID="repCategory" runat="server" OnItemDataBound="repCategory_ItemDataBound">
                                    <ItemTemplate>
                                        <tr>
                                            <td style="width: 100px; height:24px;" align="right">
                                                <asp:Label ID="labCategoryName" runat="server" Text='<%# Eval("CategoryName") %>'></asp:Label>
                                                <asp:HiddenField ID="hiddenCategoryID" runat="server" Value='<%# Eval("CategoryID") %>' />
                                                :
                                            </td>
                                            <td>&nbsp;
                                                <asp:CheckBoxList ID="cbSubCategoryName" runat="server" RepeatDirection="Horizontal" RepeatColumns="8">
                                                </asp:CheckBoxList>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>

<table>

丶Pp的主页 丶Pp | 初学一级 | 园豆:180
提问于:2011-05-24 10:54
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册