title: MVC Reporting - a generic View which will display headers and results irrespective of number of columns in Model
body: <p>for any new report requirement - </p>
  
  <p>1] We will copy existing page, change sql,  add authorisation and Done. This activity doesn't take more than half an hour.</p>
  
  <p>2] or add IF else block in the existing page.</p>
  
  <p>However in MVC world, I have Controller Action - which will return model to view.</p>
  
  <p>And in View - Result and Headers will be displayed using &lt;% foreach (var item in Model) %> </p>
  
  <p>Here I want a generic View which will display headers and results irrespective of number of columns in Model. </p>
  
  <p>Any suggestions?</p>