Click here to Skip to main content
14,734,150 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to make an unlimited category list, but can you help with HTML and the controller
Model ;

public class Category
{
    public int Id { get; set; }
    public int SubCatid { get; set; }
    public string Name { get; set; }
    public List<Category> Category1 { get; set; }
}

I want to make a list of tables in the controller and help me on the side of HTML

I want to do this on the table ;

Computer

Computer > laptop
Computer > laptop > Lenovo
Mause

Mause > Hp

What I have tried:

Asp.net MVC Unlimated Category Table List
Posted
Comments
MadMyche 12-Nov-18 8:15am
   
And what code do you have now?

You asked this same question a month ago a on a half dozen sites. You have had people offer to help but you can't expect them to write it; especially when the only thing you have to offer is what the end product should look like.
burakkucukekiciler 12-Nov-18 8:31am
   
I would like to list a category like nopcommerce because I can't get answers
MadMyche 12-Nov-18 11:23am
   
What I would do then is to download a copy of that open-source product and see how they do it.
burakkucukekiciler 13-Nov-18 2:41am
   
he did it with the core structure I normally mvc

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900