asp.net mvc - How to grouping for the following structure in MVC5? -
here table :
**name childid parentid** root 1 0 child1 2 1 child2 3 1 child3 4 2 child4 5 1 child5 6 2
but want format :
**name childid parentid** root 1 0 child1 2 1 child2 5 2 child5 6 2 child2 3 1 child4 4 1
simply asking how parent related child down??
give me mvc5 controller code that. use orderby , sorting not working ? give me structure using foreach.
Comments
Post a Comment