我在我的网站上创建了一个页面,我必须显示所有类别及其相应的子类别及其图像。 假设我有10个主要类别,在主要类别下,每个主要类别都有子类别。在每个主要类别中,有5-20个子类别。 问题是我有三列,当我显示第一个主要类别及其20个子类别,然后是第二个主要类别,在我的第一列中有5个子类别然后我的第二列开始,当我显示第三个主要类别只有3个子类别时,我的第三个主要类别(只有3个子类别)留下17行空间,因为在第一列中第一个主类别占用了20行所以它留下了17个行空白并在黑色17行后开始我的第四个类别。如下所示: (食品总分类标题)
I have created a page in my website where I have to display all the categories with its corresponding sub categories with their images. Suppose I have 10 Main categories and under main categories there are sub categories for each main category. And in each main category there are 5-20 sub categories. The problem is that I have three columns and when I display first main category with its 20 sub categories and then second main category with 5 sub categories in my first column and then my second column starts and when I display third main category with only 3 sub categories then my third main category (which has only 3 sub categories) leaves the 17 rows space because in first column the first main category took 20 rows so it leaves 17 rows blank and starts my fourth category after black 17 rows. As you could see below : (Food Main Category Heading)
I column II Column III column Food subcategories Breakfast Baby Food Cold Cereals and sub-sub categories list 1,031 91 1ST Stage Baby Food Dips and Spreads 172 117 2ND Stage Baby Food 418 3RD Stage Baby Food 179 Baby Cereal 82 Baby Formula 148 Baby Juice 47 Breakfast Frozen Foods Cold Cereals and sub-sub categories list starts 1,031 Granola 195 Hot Cereals 542 Toaster Pastries 180 Candy Dairy & Dairy Substitutes Boxed Candy and sub-sub categories list 691 Candy Bar starts 712 Chocolate Bar 578 Dessert Toppings 177 Hard Candy 408 Soft Candy 331 Canned Foods Broth 149 Fruits 305 Meats 82 Seafood 557 Soups 646 Vegetables 1,223 Dairy & Dairy Substitutes Desserts 2,037 Hard Cheese 805 Milk 420 Milk Substitutes 306 Yogurt 1,526我只是想从下一行出现我的第四类我在第三类之后的第二列,没有留下任何行为空白。我正在使用数据列表和网格视图控件。 任何帮助表示赞赏。在此先感谢。
I just want to start my fourth category exactly from the next row appearing in my second column after third category without leaving any row as blank. I am using data list and grid view controls. Any Help is appreciated. Thanks in advance.
推荐答案亲爱的朋友, 我不知道你是谁使用,但我希望树视图控制肯定会帮助你。 树视图在c# 请不要忘记将此标记为您的答案,如果它可以帮助您。 谢谢&问候 Varun Sareen Dear Friend, I don''t know which control you are using but i hope the tree view control will definitely help you out. treeview in c# Please don''t forget to mark this as your answer if it helps you out. Thanks & Regards Varun Sareen
hi winners6269 我无法得到你需要的东西,但在这里我有一些想法可能对你有帮助: www.trirand/examples/tree/textandimages/default。 aspx [ ^ ] b $ b www.trirand/examples/grid/treegrid/loadallrowsexpanded/default.aspx [ ^ ] 如果此链接有任何帮助''s让我知道。 问候, jsm hi winners6269 I unable to get what exactly u need but here i have list of ideas which may help''s you: www.trirand/examples/tree/textandimages/default.aspx[^] www.trirand/examples/grid/treegrid/loadallrowsexpanded/default.aspx[^] If any of this link help''s u let me know. Regards, jsm
更多推荐
如何在continuation中显示类别和子类别。
发布评论