Mohammad Aman

Mohammad Aman

  • NA
  • 327
  • 70.4k

Generate report with dynamic coloums in MVC 5 Asp.ne

Jan 25 2017 2:30 AM
24 Nov 2016 
 1 1 1 1 1 1 1 2 1 1
I am implementing a project where i get multiple columns and rows in DataSet, I want to bind that DataSet with WebGrid but don't know , how i can do it with dynamic fileds, because WebGrid bind through Properties
DataSet May Like This :
 
 ExecutiveName 10 Dec 2016
 13 Jan 2017  14 Jan 2017  17 Jan 2017  25 Nov 2016
 Admin 1 1 4 2 1 1
 
Or
  ExecutiveName 12 Jan 2017  17 Jan 2017  23 Jan 2017  24 Jan 2017
 Manager 2 0 1 3
 
These header columns may be any number those Coloumns i wan to bind with WebGrid
If anyone know anything related this please tell me
Or
What should i other method use to do this in MVC 5 Asp.net 
thanks 

Answers (1)