Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi iam use project mvc with code first
i have two table
http://stackoverflow.com/questions/28140020/how-show-calculations-a-dynamic-field-on-webgrid[^]
HTML
 #group
 id       name  
 1        test1
 2        test2
 3        test3
 table 2
#subgroup  
  idsub      idgroup         namesub
   1            1            name1
   2            1            name2
   3            2            name3
   4            3            name4
   5            3            name3
   6            3            name3
   7            1            name3

i want this result in webgrid mvc .how use item countgroup in web grid
id countgroup
1 3
2 1
3 3
Posted
Updated 25-Jan-15 7:52am
v2
Comments
Afzaal Ahmad Zeeshan 25-Jan-15 13:07pm    
What you have tried?
saeed1364 25-Jan-15 13:50pm    
i want how show countgroup

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