本文介绍了如何在LIstview中分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 Vegiterail团队 DAL FRY DAL MAKHANI DUM ALOO KADAI PANEER MALAI KOFTA MATAR PANEER MATTAR MUSHROOM MIX VEGETABLE CURRY NAVRATAN KORMA PALAK PANEER PANEER BURJI PANEER BUTTER MASALA PANEER TIKKA MASALA RAJMA RASEELE SHAHI PANEER TAWA VEGETABLE 蔬菜JALFRAIZE 印度面包 CHAPPATI KULCHA LACCHA PARATHA NAAN PARATHA PURI TANDOORI ROTI 米饭特色 CURD RICE JEERA RICE MIX VEGETABLE PULAO PINEAPPLE RICE PLAIN STEAM RICE SAFFRON RICE 蔬菜BIRYANI 如何在LIstview中分组 Vegiterail groupDAL FRYDAL MAKHANIDUM ALOOKADAI PANEER MALAI KOFTA MATAR PANEERMATTAR MUSHROOM MIX VEGETABLE CURRY NAVRATAN KORMAPALAK PANEERPANEER BURJI PANEER BUTTER MASALA PANEER TIKKA MASALARAJMA RASEELESHAHI PANEER TAWA VEGETABLEVEGETABLE JALFRAIZEINDIAN BREADSCHAPPATIKULCHALACCHA PARATHANAANPARATHAPURITANDOORI ROTIRICE SPECIALITIESCURD RICEJEERA RICE MIX VEGETABLE PULAO PINEAPPLE RICE PLAIN STEAM RICE SAFFRON RICEVEGETABLE BIRYANI How to Grouping in LIstview<asp:ListView ID="LVMenu" runat="server" GroupItemCount="1" OnItemDataBound="LVMenu_ItemDataBound"> <EmptyItemTemplate> </EmptyItemTemplate> <LayoutTemplate> <table> <tr> <td align="center"> <asp:Panel ID="groupPlaceholder" runat="server"> </asp:Panel> <asp:Label ID="Label1" runat="server" Style="text-align: center" Text="Menus" Font-Bold="true" ForeColor="#CC2800" Font-Size="20px"></asp:Label> </td> </tr> </table> </LayoutTemplate> <GroupTemplate> <tr> <td align="center"> </td> </tr> <tr> <asp:Panel ID="itemPlaceholder" runat="server"> </asp:Panel> </tr> </GroupTemplate> <ItemTemplate> <td align="left"> <table> <tr> <td align="left"> <div id="List" class="padding whtColor"> <table> <tr id="me"> </tr> </table> </div> </td> </tr> </table> </td> </ItemTemplate> </asp:ListView> 推荐答案 您好, 看一下这个样本[ ^ ] 。看来你没有使用 asp:PlaceHolder 。 问候,Hello,Have a look at this sample [^]. It seems that you are not using asp:PlaceHolder.Regards, 这篇关于如何在LIstview中分组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-26 00:53